From b9553b9b3c82e1d066b9381c43cc9e7272116fa9 Mon Sep 17 00:00:00 2001 From: Guy Bianco IV Date: Tue, 11 Oct 2022 23:21:00 -0400 Subject: [PATCH] podman-machine: add page (#8850) --- pages/common/podman-machine.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/common/podman-machine.md diff --git a/pages/common/podman-machine.md b/pages/common/podman-machine.md new file mode 100644 index 000000000..e05cd00de --- /dev/null +++ b/pages/common/podman-machine.md @@ -0,0 +1,33 @@ +# podman machine + +> Create and manage virtual machines running Podman. +> Included with Podman version 4 or greater. +> More information: . + +- List existing machines: + +`podman machine ls` + +- Create a new default machine: + +`podman machine init` + +- Create a new machine with a specific name: + +`podman machine init {{name}}` + +- Create a new machine with different resources: + +`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}` + +- Start or stop a machine: + +`podman machine {{start|stop}} {{name}}` + +- Connect to a running machine via SSH: + +`podman machine ssh {{name}}` + +- Inspect information about a machine: + +`podman machine inspect {{name}}`