docker interact with running container 1

docker interact with running container

docker exec -it  bash

Here is what the above code is Doing:
1. Create a new container from the image
2. Run the container
3. Attach the container to the terminal
4. Run bash inside the container

Similar Posts