What does this command do?
docker exec -it web bash
- Open an interactive shell in a running container
- Create a new container from the base image
- Stop the container and delete its writable layer
- Copy files out of the container onto the host
docker exec -it runs an interactive command inside a running container.
Play DevOps ▸