Podman Operations: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
=VM Initialization= | =VM Initialization= | ||
{{External|https://docs.podman.io/en/latest/markdown/podman-machine-init.1.html#}} | {{External|https://docs.podman.io/en/latest/markdown/podman-machine-init.1.html#}} | ||
Podman on MacOS requires a virtual machine. This is because containers must run with a Linux kernel, and the Podman virtual machine provides that kernel. For more details, see [[Podman_Concepts#podman_Virtual_Machine|Podman Virtual Machine]]. | |||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
podman machine init | podman machine init | ||
</syntaxhighlight> | </syntaxhighlight> | ||
initializes a new Linux VM where the containers are run. | initializes a new Linux VM where the containers are run. | ||
=VM Startup= | =VM Startup= | ||
{{External|https://docs.podman.io/en/latest/markdown/podman-machine-start.1.html}} | {{External|https://docs.podman.io/en/latest/markdown/podman-machine-start.1.html}} |
Revision as of 04:24, 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, and the Podman virtual machine provides that kernel. For more details, see Podman Virtual Machine.
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