Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## install podman
- ubuntu@FAKELES-7310:~$ sudo apt-get update
- ubuntu@FAKELES-7310:~$ sudo apt-get -y install podman
- ## verify installation
- ubuntu@FAKELES-7310:~$ podman info
- ## pull an image
- ubuntu@FAKELES-7310:~$ podman pull docker.io/library/httpd
- ## run a small httpd server
- ubuntu@FAKELES-7310:~$ podman run -dt -p 8080:80/tcp docker.io/library/httpd
- ## test it
- ubuntu@FAKELES-7310:~$ curl http://localhost:8080
- ## see the logs
- ubuntu@FAKELES-7310:~$ podman logs -l
- ## Viewing the container pids
- ubuntu@FAKELES-7310:~$ podman top -l
- ## Stopping the container
- ubuntu@FAKELES-7310:~$ podman stop -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement