A reminder of some Docker commands that I use and that I find useful.
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
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
Contact :