User Tools

Site Tools


linux:docker

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
/var/www/dokuwiki/wiki/data/pages/linux/docker.txt · Last modified: 2016/08/11 11:41 by percy