# To run in the background docker run -d --name my-ubuntu-container ubuntu tail -f /dev/nulldocker pull ubuntu # Use one of the two commands to run the image # 1. To run the ubuntu image docker run -i -t ubuntu # 2. To run the ubuntu image and open terminal within the image docker run -i -t ubuntu /bin/bash