Changes between Version 13 and Version 14 of Docker HowTo Install
- Timestamp:
- 09/05/16 15:30:13 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docker HowTo Install
v13 v14 26 26 5. Open the /etc/apt/sources.list.d/docker.list file in your favorite editor. 27 27 28 If the file doesn’t exist, create it.28 If the file doesn’t exist, create it. 29 29 30 30 6. Remove any existing entries. … … 32 32 7. Add an entry for your Ubuntu operating system. 33 33 34 The possible entries are:34 The possible entries are: 35 35 36 Ubuntu Xenial 16.04 (LTS)36 Ubuntu Xenial 16.04 (LTS) 37 37 38 38 {{{deb https://apt.dockerproject.org/repo ubuntu-xenial main}}} … … 52 52 {{{$ apt-cache policy docker-engine}}} 53 53 54 From now on when you run apt-get upgrade, APT pulls from the new repository.54 From now on when you run apt-get upgrade, APT pulls from the new repository. 55 55 56 56 … … 91 91 3. Install Docker. 92 92 93 $ sudo apt-get install docker-engine93 {{{$ sudo apt-get install docker-engine}}} 94 94 95 95 Start the docker daemon. 96 96 97 $ sudo service docker start97 {{{$ sudo service docker start}}} 98 98 99 99 Verify docker is installed correctly. 100 100 101 $ sudo docker run hello-world101 {{{$ sudo docker run hello-world}}} 102 102 103 103 This command downloads a test image and runs it in a container. When the container runs, it prints an informational message. Then, it exits.