Working with Docker containers

Running a container
sudo docker run -i -t ubuntu:14.04 /bin/bash
See properties of the container
docker ps
Starting and Stopping containers
to start a container
sudo docker start <container id>
to stop containers
sudo docker stop <container id>
Removing containers
single container
docker rm <CONTAINER ID>
all containers
docker rm $(docker ps -a -q)