Podman Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=Internal=
=Internal=
* [[Podman#Subjects|podman]]
* [[Podman#Subjects|Podman]]
 
=Podman Virtual Machine=
=Podman Virtual Machine=
Podman on MacOS or Windows requires a virtual machine. This is because containers must run with a Linux kernel, and the podman virtual machine provides that Linux kernel on Mac. If it does not exist, the virtual machine must be [[Podman_Operations#VM_Initialization|initialized]], then [[Podman_Operations#VM_Startup|started]].
Podman on MacOS or Windows requires a virtual machine. This is because containers must run with a Linux kernel, and the podman virtual machine provides that Linux kernel on Mac. If it does not exist, the virtual machine must be [[Podman_Operations#VM_Initialization|initialized]], then [[Podman_Operations#VM_Startup|started]].

Revision as of 04:31, 4 May 2023

Internal

Podman Virtual Machine

Podman on MacOS or Windows requires a virtual machine. This is because containers must run with a Linux kernel, and the podman virtual machine provides that Linux kernel on Mac. If it does not exist, the virtual machine must be initialized, then started.

The started virtual machine mounts as volume the home directory of the user that starts it. There's also an API server listening on $HOME/.local/share/containers/podman/machine/podman-machine-default/podman.sock.

Containerfile

Also see:

Docker Concepts | Dockerfile

Build Context

Also see:

Docker build | The Build Context

Rootless Mode

The mode in which the podman Virtual Machine runs where containers are not allowed root permissions.