Podman Operations: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
podman --version | podman --version | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Initialization= | =VM Initialization= | ||
{{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. The podman virtual machine provides that kernel on Mac. | |||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
podman machine init | podman machine init | ||
</syntaxhighlight> | </syntaxhighlight> | ||
initializes a new Linux VM where the containers are run. | |||
=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:19, 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.