mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-26 06:56:19 +00:00
Fix permission denied error in ubuntu installation
This commit is contained in:
parent
99b0f8fe72
commit
c057d68cec
@ -15,7 +15,7 @@ $ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
|
|||||||
```
|
```
|
||||||
$ sudo apt-get install apt-transport-https
|
$ sudo apt-get install apt-transport-https
|
||||||
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
|
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
|
||||||
$ sudo echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list"
|
$ sudo bash -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
|
||||||
$ sudo apt-get update
|
$ sudo apt-get update
|
||||||
$ sudo apt-get install lxc-docker
|
$ sudo apt-get install lxc-docker
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user