How to enter the docker container


Enter the docker container


docker exec -it mysql /bin/bash


exec : Run a command in a running container
-i, --interactive : 	Keep STDIN open even if not attached
-t, --tty : Allocate a pseudo-TTY


Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.