Commands

Tags
Bash
Published
January 7, 2023
Author
Harsh
docker container ls
Gives the list of running containers
docker container ls -a
Gives the list of all the containers on our machine
docker start [container_name] docker stop [container_name]
Can run and stop the existing containers
docker exec [container_name] [command_name]
will exec command in particular container
docker exec -it bold_fermat bash
It’ll bring us to the bash of the container