Last active
March 20, 2023 15:39
-
-
Save brianjo/42bcf7ee27dd9e1c0355f99a559ce328 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Commands I always forget. | |
| podman build -f Dockerfile # You can use Buildfile for pure Podman. | |
| podman images | |
| podman tag 511541e4cde3 buck2-podman:latest | |
| podman run -it buck2-podman bash | |
| podman ps # copy the container id from another shell | |
| podman commit eb1af8df2371 | |
| podman images | |
| podman ps # grab the name from the Names column. | |
| # Changes will persist between sessions. | |
| podman start cranky_herschel # start if needed | |
| podman exec -it cranky_herschel /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment