From d89006b8d03e5c07307c7bc90f5dcb77c4d73995 Mon Sep 17 00:00:00 2001 From: Dale Hough <153182089+daleh-daemon@users.noreply.github.com> Date: Fri, 15 Dec 2023 14:22:50 +0000 Subject: [PATCH 1/2] added in machine commands --- plugins/podman/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/podman/README.md b/plugins/podman/README.md index 99daa28cd..ed34eb4dc 100644 --- a/plugins/podman/README.md +++ b/plugins/podman/README.md @@ -23,6 +23,16 @@ plugins=(... podman) | pirm | `podman image rm` | Remove one or more images | | pit | `podman image tag` | Add a name and tag to a particular image | | plo | `podman container logs` | Fetch the logs of a podman container | +| pmif | `podman machine info` | Display machine host info | +| pmit | `podman machine init` | Initialize a virtual machine | +| pmis | `podman machine inspect` | Inspect an existing machine | +| pml | `podman machine list` | List machines | +| pmo | `podman machine os` | Manage a Podman virtual machine's OS | +| pmrm | `podman machine rm` | Remove an existing machine | +| pms | `podman machine set` | Set a virtual machine setting | +| pmss | `podman machine ssh` | SSH into an existing machine | +| pmst | `podman machine start` | Start an existing machine | +| pmsp | `podman machine stop` | Stop an existing machine | | pnc | `podman network create` | Create a new network | | pncn | `podman network connect` | Connect a container to a network | | pndcn | `podman network disconnect` | Disconnect a container from a network | From 0727b217ab94ec08042d324434c5aad3006cd682 Mon Sep 17 00:00:00 2001 From: Dale Hough <153182089+daleh-daemon@users.noreply.github.com> Date: Fri, 15 Dec 2023 14:28:36 +0000 Subject: [PATCH 2/2] added machine commands --- plugins/podman/podman.plugin.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/podman/podman.plugin.zsh b/plugins/podman/podman.plugin.zsh index 97cf92b2a..25330578a 100644 --- a/plugins/podman/podman.plugin.zsh +++ b/plugins/podman/podman.plugin.zsh @@ -22,6 +22,16 @@ alias pils='podman image ls' alias pipu='podman image push' alias pirm='podman image rm' alias pit='podman image tag' +alias pmif='podman machine info' +alias pmit='podman machine init' +alias pmis='podman machine inspect' +alias pml='podman machine list' +alias pmo='podman machine os' +alias pmrm='podman machine rm' +alias pms='podman machine set' +alias pmss='podman machine ssh' +alias pmst='podman machine start' +alias pmsp='podman machine stop' alias plo='podman container logs' alias pnc='podman network create' alias pncn='podman network connect'