mirror of https://github.com/docker/docs.git
Merge pull request #14553 from WPH95/fix-install
Fix failure on adding source list for ubuntu
This commit is contained in:
commit
eb174dbb1e
|
@ -216,6 +216,7 @@ do_install() {
|
|||
else
|
||||
$sh_c "$curl ${url}gpg | apt-key add -"
|
||||
fi
|
||||
$sh_c "mkdir -p /etc/apt/sources.list.d"
|
||||
$sh_c "echo deb ${url}ubuntu docker main > /etc/apt/sources.list.d/docker.list"
|
||||
$sh_c 'sleep 3; apt-get update; apt-get install -y -q lxc-docker'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue