Skip to content

Commit 702b483

Browse files
authored
update recipe to install latest docker
1 parent bdc4df9 commit 702b483

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

user/docker.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ updating it in the `before_install` step of your `.travis.yml`:
199199
**Updating from download.docker.com**
200200
```yaml
201201
before_install:
202+
- sudo systemctl stop docker.service && sudo systemctl stop docker.socket
202203
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
203-
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
204+
- yes | sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
204205
- sudo apt-get update
205206
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
206207
```

0 commit comments

Comments
 (0)