2015年4月1日 星期三

Docker on Ubuntu 14.04 LTS


https://docs.docker.com/installation/
https://docs.docker.com/installation/ubuntulinux/
https://docs.docker.com/installation/ubuntulinux/#installing-docker-on-ubuntu

wget -qO- https://get.docker.com/ | sh

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

sudo usermod -aG docker test

(Reboot required)

sudo docker run hello-world


ERROR: when running "sudo docker run hello-world"
FATA[0000] Post http:///var/run/docker.sock/v1.17/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
FIX: Reboot

https://docs.docker.com/userguide/
https://github.com/veggiemonk/awesome-docker
https://github.com/wsargent/docker-cheat-sheet

Network configuration
https://docs.docker.com/articles/networking/

Linking containers together
https://docs.docker.com/userguide/dockerlinks/

沒有留言: