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/31 07:54] – [inspect] rpjday | f30_podman [2019/03/31 15:55] (current) – [cp] rpjday | ||
|---|---|---|---|
| Line 106: | Line 106: | ||
| ==== ASSORTED ==== | ==== ASSORTED ==== | ||
| - | * cp | + | * cp [DONE] |
| * generate-kube | * generate-kube | ||
| * generate | * generate | ||
| Line 117: | Line 117: | ||
| * unmount | * unmount | ||
| * varlink | * varlink | ||
| + | * version | ||
| Line 298: | Line 299: | ||
| SYNOPSIS | 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] | ||
| </ | </ | ||