Podman Operations: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
initializes a new Linux VM where the containers are run. | initializes a new Linux VM where the containers are run. | ||
=VM Startup= | |||
{{External|https://docs.podman.io/en/latest/markdown/podman-machine-start.1.html}} | |||
Once the VM is initialized, it must be stared with: | |||
<syntaxhighlight lang='bash'> | |||
podman machine start | |||
</syntaxhighlight> | |||
=Build Container Images= | =Build Container Images= | ||
{{Internal|Build Container Images with podman|Build Container Images with podman}} | {{Internal|Build Container Images with podman|Build Container Images with podman}} |
Revision as of 04:20, 4 May 2023
Internal
Installation
Mac
brew install podman
Linux
dnf install -y podman && dnf clean all
podman --version
Version
podman --version
VM Initialization
podman on MacOS requires a virtual machine. This is because containers must run with a Linux kernel. The podman virtual machine provides that kernel on Mac.
podman machine init
initializes a new Linux VM where the containers are run.
VM Startup
Once the VM is initialized, it must be stared with:
podman machine start