Table of Contents

Docker

  1. Docker教程中文版本 https://code.csdn.net/u010702509/docker

Docker commands

boot2docker ssh
boot2docker
docker images
docker search ubuntu
docker pull ubuntu:14.04
docker run -i -t ubuntu /bin/bash
docker ps 
docker ps -a
docker commit 3681929604f4 ubuntu:14.04basic
docker images
docker run -i -t 47b5e47eb55e /bin/bash

Start boot2docker

boot2docker init
boot2docker up
boot2docker ssh

Docker China mirror

Daocloud

Mount volume

docker run -it  --rm  -v ~/Downloads:/download ubuntu /bin/bash