mirror of
https://github.com/containers/podman.git
synced 2025-05-29 06:03:25 +08:00

Podman Machine crashes if run as root. When creating the machine, we write the ignition so that the UID of the core user matches the UID of the user on the host. We by default, create the root user on the machine with UID 0. If the user on the host is root, the core UID and the Root UID collide, causing a the VM not to boot. [NO NEW TESTS NEEDED] Signed-off-by: Ashley Cui <acui@redhat.com>
42 lines
983 B
Markdown
42 lines
983 B
Markdown
% podman-machine-start(1)
|
|
|
|
## NAME
|
|
podman\-machine\-start - Start a virtual machine
|
|
|
|
## SYNOPSIS
|
|
**podman machine start** [*name*]
|
|
|
|
## DESCRIPTION
|
|
|
|
Starts a virtual machine for Podman.
|
|
|
|
Rootless only.
|
|
|
|
Podman on MacOS and Windows requires a virtual machine. This is because containers are Linux -
|
|
containers do not run on any other OS because containers' core functionality are
|
|
tied to the Linux kernel. Podman machine must be used to manage MacOS and Windows machines,
|
|
but can be optionally used on Linux.
|
|
|
|
Only one Podman managed VM can be active at a time. If a VM is already running,
|
|
`podman machine start` will return an error.
|
|
|
|
**podman machine start** starts a Linux virtual machine where containers are run.
|
|
|
|
## OPTIONS
|
|
|
|
#### **--help**
|
|
|
|
Print usage statement.
|
|
|
|
## EXAMPLES
|
|
|
|
```
|
|
$ podman machine start myvm
|
|
```
|
|
|
|
## SEE ALSO
|
|
**[podman(1)](podman.1.md)**, **[podman-machine(1)](podman-machine.1.md)**
|
|
|
|
## HISTORY
|
|
March 2021, Originally compiled by Ashley Cui <acui@redhat.com>
|