Docker Kata 2: Disconnected Containers
Learn how to run a disconnected container and execute commands on a running container.
The first kata demonstrated containers that exit immediately after they’re run. This kata will teach us how to run a container that continues running in the background after executing the docker container run
command.
Step 1: Run a disconnected container
The command to run a disconnected container in the background is given below.
Get hands-on with 1400+ tech skills courses.