Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| f30_podman [2019/03/30 15:19] – [Overview] rpjday | f30_podman [2019/03/31 15:55] (current) – [cp] rpjday | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| Tutorial links: | Tutorial links: | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | Dan Walsh' | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| There should theoretically be no need for docker-related RPMs for any of this. | There should theoretically be no need for docker-related RPMs for any of this. | ||
| Line 95: | Line 106: | ||
| ==== ASSORTED ==== | ==== ASSORTED ==== | ||
| - | * cp | + | * cp [DONE] |
| * generate-kube | * generate-kube | ||
| * generate | * generate | ||
| Line 106: | Line 117: | ||
| * unmount | * unmount | ||
| * varlink | * varlink | ||
| + | * version | ||
| Line 251: | Line 263: | ||
| $ podman images | $ podman images | ||
| $ podman images [-a|--all] | $ podman images [-a|--all] | ||
| + | |||
| + | $ podman image [list|ls] | ||
| </ | </ | ||
| - | === ps === | + | === containers |
| < | < | ||
| $ podman ps | $ podman ps | ||
| CONTAINER ID IMAGE COMMAND | CONTAINER ID IMAGE COMMAND | ||
| - | $ podman ps -a | + | $ podman |
| </ | </ | ||
| Line 267: | Line 281: | ||
| $ podman search --limit 3 hello-world | $ podman search --limit 3 hello-world | ||
| $ podman search docker.io/ | $ podman search docker.io/ | ||
| + | </ | ||
| + | |||
| + | ===== inspect ===== | ||
| + | |||
| + | < | ||
| + | $ docker inspect fedora:28 | ||
| + | $ docker inspect --latest | ||
| + | </ | ||
| + | |||
| + | ===== cp ===== | ||
| + | |||
| + | < | ||
| + | NAME | ||
| + | | ||
| + | local filesystem | ||
| + | |||
| + | SYNOPSIS | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Start a Ubuntu container: | ||
| + | |||
| + | < | ||
| + | $ podman run -it --rm ubuntu bash | ||
| + | </ | ||
| + | |||
| + | Identify it, and copy the file ''/ | ||
| + | |||
| + | < | ||
| + | $ podman ps | ||
| + | CONTAINER ID IMAGE COMMAND | ||
| + | cb29f21de0df | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ podman cp pensive_lamport: | ||
| + | $ cat/tmp/os | ||
| + | NAME=" | ||
| + | VERSION=" | ||
| + | ID=ubuntu | ||
| + | ID_LIKE=debian | ||
| + | PRETTY_NAME=" | ||
| + | VERSION_ID=" | ||
| + | ... etc etc ... | ||
| + | </ | ||
| + | |||
| + | Copy from local filesystem to container: | ||
| + | |||
| + | < | ||
| + | $ podman cp / | ||
| + | </ | ||
| + | |||
| + | ===== Removing things ===== | ||
| + | |||
| + | Remove containers: | ||
| + | |||
| + | < | ||
| + | $ podman rm < | ||
| + | $ podman rm [-a|--all] | ||
| </ | </ | ||