- wget -qO- https://get.docker.com/ | sh
- sudo docker run ubuntu:14.04
- sudo docker images
- sudo docker run -i -t ubuntu /bin/bash
- sudo docker ps -a
- sudo docker docker ps
- sudo docker commit -m "COMMIT_MESSAGE" -a "COMMIT_AUTHOR" ID_HASH USERNAME/IMAGE:TAG
- sudo docker run -i -t USERNAME/IMAGE:TAG /bin/bash
- sudo docker run -i -t -p HOST_NUM_PORT:DOCKER_NUM_PORT USERNAME/IMAGE:TAG /bin/bash
- sudo docker run -v $(pwd)/SHARED_FOLDER:/root/$USER/:rw,z -e USER=$USER -e USERID=$UID -i -t USERNAME/IMAGE:TAG /bin/bash
- sudo docker rmi ID_HASH
- sudo docker rm ID_HASH
- sudo docker inspect ID_HASH
- sudo docker inspect HASH_ID | grep IPAddress
- sudo docker export CONTAINER_ID > image.tar
- cat image.tar | sudo docker import - NEW_NAME:TAG