Skip to content

Instantly share code, notes, and snippets.

Last active December 20, 2015 21:20
What would you like to do?

Docker шпаргалка =)


sudo nano /etc/apt/sources.list.d/docker.list

Добавляем (для Ubuntu Wily 15.10)

deb ubuntu-wily main
sudo apt-get update
sudo apt-cache policy docker-engine
sudo apt-get install docker-engine
sudo service docker start



sudo docker run hello-world

Возможные проблемы

Не стартуется демон

$ sudo service docker start
Failed to start docker.service: Unit docker.service is masked.

$ sudo service docker start
Job for docker.service failed. See "systemctl status docker.service" and "journalctl -xe" for details.


systemctl unmask docker.service
systemctl unmask docker.socket

Возможно еще и

systemctl start docker.service

Полезные ссылки

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment