Skip to content

Instantly share code, notes, and snippets.

@dapangmao
Last active August 29, 2015 14:09
Show Gist options
  • Save dapangmao/eaff826347dc82ac5889 to your computer and use it in GitHub Desktop.
Save dapangmao/eaff826347dc82ac5889 to your computer and use it in GitHub Desktop.
sudo docker pull ubuntu
sudo docker images
sudo docker run -t -i --name new_container ubuntu:12.04 /bin/bash
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment