Monday 13 June 2022

docker container ls command

 

sudo docker container ls


CONTAINER ID   IMAGE COMMAND                      CREATED            STATUS

b35ea12d94bb       nginx "/docker-entrypoint.…"   32 seconds ago    Up 31 seconds                

PORTS NAMES

80/tcp        dazzling_lovelace


CONTAINER ID    Unique alphanumeric string to identify container

IMAGE   Name of the image from which container is running

COMMAND   What command is executed                  

CREATED            Time since container is running   

STATUS           Container's current state

PORTS   Ports for containers exposed

NAMES   Container's full name


No comments:

Post a Comment