docker install on ubuntu 16.04LTS
来源:互联网 发布:access2007数据库教程 编辑:程序博客网 时间:2024/05/01 05:21
docker install
1、 uninstall old docker version
sudo apt-get remove docker docker-engine docker.io
2、install using the repository
2.1 update the apt package index
sudo apt-get update
2、2 install packages to allow apt to use a repository over https
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
2、3 add docker’s official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88
2、4
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
2、5
sudo apt-get updatesudo apt-get install docker-ce
verify docker ce is installed correnctly by running the hello world image
root@bogon:/etc/apt# sudo docker run hello-worldUnable to find image 'hello-world:latest' locallylatest: Pulling from library/hello-worldca4f61b1923c: Pull complete Digest: sha256:be0cd392e45be79ffeffa6b05338b98ebb16c87b255f48e297ec7f98e123905cStatus: Downloaded newer image for hello-world:latestHello from Docker!This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID: https://cloud.docker.com/For more examples and ideas, visit: https://docs.docker.com/engine/userguide/root@bogon:/etc/apt#
2、6 list docker version to install on prod env
apt-cache madison docker-cesudo apt-get install docker-ce=<VERSION>
阅读全文
0 0
- docker install on ubuntu 16.04LTS
- How to Install Docker on Ubuntu 14.04 LTS
- How to Install Docker on Ubuntu 14.04 LTS
- How to Install Docker on Ubuntu 14.04 LTS
- Install Opencv2.4.9 on Ubuntu 16.04 LTS
- Install InfluxDB on Ubuntu 16.04 LTS
- Install Grafana on Ubuntu 16.04 LTS
- How to install experimental Docker versions on my Ubuntu 16.04 LTS
- install docker on Ubuntu 14.04
- Install CUDA 6.5 on Ubuntu 14.04 LTS
- Install CUDA 6.0 on Ubuntu 14.04 LTS
- Install Nginx on Ubuntu 14.04 LTS
- Install Ruby on Rails on Ubuntu 12.04 LTS
- docker install on ubuntu 14.04 server
- Install Ubuntu 10.04 LTS on a USB Flash Memory
- Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.04 LTS
- Install Apache 2.4.2 on Ubuntu 12.04 LTS
- Install Atheros AR8161 Gigabit Ethernet Driver on Ubuntu 12.04LTS
- Tomcat采坑记录
- 如何在命令提示符下编译运行含有Package的java文件
- javascript常用实例的实现与封装
- W/WindowManager( 591): ***** BOOT TIMEOUT: forcing display enabled
- kali 双系统设置在/etc/default/grup文件里
- docker install on ubuntu 16.04LTS
- CentOS7/Red Hat7 NTP服务无法开机自启动问题解决
- MFC文档/视图结构关联基类学习
- mybatis如何防止sql注入
- 【深度学习】caffe之SGD solver
- caffe 中 top_data, top_label 的存储方式
- Making Sense of all these Crazy Web Service Standards
- 封装的google地图几个常用方法
- LaTex 学习入门