docker run -it ubuntu
Here is what the above code is Doing:
1. docker run is the command to run a container.
2. -it instructs Docker to allocate a pseudo-TTY connected to the container’s stdin; creating an interactive bash shell in the container.
3. ubuntu is the name of the image that the container is run from.