From c057d68cecb8b7838816e77051d0f6994654ba5e Mon Sep 17 00:00:00 2001 From: Ruoyu Date: Wed, 17 Sep 2014 14:16:08 +0800 Subject: [PATCH] Fix permission denied error in ubuntu installation --- install/ubuntu144.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/ubuntu144.md b/install/ubuntu144.md index 671c52f..03347f3 100644 --- a/install/ubuntu144.md +++ b/install/ubuntu144.md @@ -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-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 install lxc-docker ```