Docker Basis Command

docker image list

[[email protected] ~]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
docker.io/centos    latest              3bee3060bfc8        3 weeks ago         192.5 MB

docker container list

[[email protected] ~]# docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES
22143f214366        centos              "/bin/echo 'hello, wo"   26 seconds ago      Exited (0) 25 seconds ago                       loving_ptolemy

Leave a Reply

Your email address will not be published. Required fields are marked *