Docker's Commands

Images

root@host:~# docker images
root@host:~# docker image ls
root@host:~# docker image rm -f <ID>
root@host:~# docker search debian
root@host:~# docker image pull debian
root@host:~# docker image ls
root@host:~# docker run --name OMSA jdelaros1/dell-omsa84

Containers

root@host:~# docker ps -l
root@host:~# docker container ls -a
root@host:~# docker container rm -f <ID>
root@host:~# docker container run -it <ID> /bin/bash
root@host:~# docker container run <ID>
root@host:~# docker stop <ID>
root@host:~# docker exec <ID> <COMMAND>
root@host:~# docker ps -a -f status=exited
root@host:~# docker rm $(docker ps -a -f status=exited -q)
root@host:~# docker exec -u 0 -it <ID> /bin/bash
Licence Creative Commons
This website http://shebangthedolphins.net is licensed to the public under a licence Creative Commons Attribution licence.
Contact :