12-22-2017, 03:19 PM
(12-22-2017, 03:09 PM)digitaldaz Wrote:Code:apt-get update apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - add-apt-repository \ "deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ $(lsb_release -cs) \ stable"
same...
Code:
root@rock64:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
OK
root@rock64:~# add-apt-repository \
> "deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
> $(lsb_release -cs) \
> stable"
root@rock64:~# apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:13
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:13
W: Target Packages (stable/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/docker.list:1
E: Unable to locate package docker-ce
