Install|Install Docker for Ubuntu 16.04 (LTS)
一、Recommended extra packages
sudo apt-get update
sudo apt-get install curl linux-image-extra-$(uname -r) linux-image-extra-virtual
二、Install Docker Set up the repository
sudo apt-get install apt-transport-httpssoftware-properties-commonca-certificates
sudo curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -
sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-get install software-properties-common
sudo add-apt-repository"deb https://apt.dockerproject.org/repo/ubuntu-$(lsb_release -cs)main"
Install Docker
sudo apt-get update
sudo apt-get -y install docker -engine
sudo apt-cache madison docker-engine
sudo docker run hello-world
Uninstall Docker
sudo apt-get purge docker-engine
sudo rm -rf /var/lib/docker
三、Docker-Compose Install Docker-Compose
sudo apt-get update
sudo apt-get install python-pip
sudo pip uninstall docker-compose( 如果有老版的,先删除掉)
sudo pip install docker-compose
sudo docker-compose --vesion
Uninstall Docker-Compose
sudo pip uninstall docker-compose
四、文档 【Install|Install Docker for Ubuntu 16.04 (LTS)】http://www.widuu.com/docker/installation/ubuntu.html
推荐阅读
- Red Alert红色警戒2 共和国之辉 for Mac游戏下载
- Docker|Docker 安装 Mysql 详解
- iOS时间那点事--NSDateFormatter
- English|China's Population Expected to Drop Before 2025: NHC
- 被遗忘的 Docker Swarm
- java|Docker配置文件位置
- Java|通俗易懂的Docker (一篇文章就让你玩转)
- 如何对已有docker容器增加新的端口映射详解
- 容器|查看docker容器执行的完整命令
- Java on Azure Tooling 6月更新|Azure Toolkit for IntelliJ 与 Gradle插件