Connecting to a Docker Container interactively
Create a docker container
docker pull
docker run
Allows us to download a Docker image from Docker Hub
Creates a container from an image
Connect to the docker container interactively
docker run -it ubuntu /bin/bash
Connect to the docker container interactively
docker run
Base command to create a container from an image
-i
Interactively attach to the container
-t
Attach the terminal to the container
ubuntu
The image to create the container from
/bin/bash
Command to run
You can find docker images at https://hub.docker.com/