Browsed by
Category: Docker

Docker basic commands for beginners

Docker basic commands for beginners

Docker basic commands for beginners: docker ps To see running docker processes. docker exec -it czcmysql /bin/bash To login into particular container, here czcmysql is mysql’s container name, you can also use container id instead of name to login. docker image ls List all docker images. docker container ls List all docker containers. sudo docker start czcbackend To start a particular docker container, here czcbackend is my container’s name. sudo docker rm d724fc6c512c31585bfeebccce1196df09cdc3c9152f01eb627aa3c198982c09 Removing docker container 94 total views, 2 views today

94 total views, 2 views today