docker exec -it c669abe2068a bash
In the above example, the EXEC command runs a “bash” command on the running container resulting in opening a bash terminal.The flags i and t along with the command represent “input” and output to terminal respectively.This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.