Merge pull request #32425 from tabakhase/patch-1

Fix install.sh of get.docker.com for debian-sudo
Upstream-commit: daaf9ddfa9a53fb82511accb8ad0fed381670a54
Component: engine
This commit is contained in:
Vincent Demeester
2017-04-07 10:08:28 +02:00
committed by GitHub

View File

@ -482,7 +482,7 @@ do_install() {
(
set -x
echo "$docker_key" | apt-key add -
echo "$docker_key" | $sh_c 'apt-key add -'
$sh_c "mkdir -p /etc/apt/sources.list.d"
$sh_c "echo deb \[arch=$(dpkg --print-architecture)\] ${apt_url}/repo ${lsb_dist}-${dist_version} ${repo} > /etc/apt/sources.list.d/docker.list"
$sh_c 'sleep 3; apt-get update; apt-get install -y -q docker-engine'