Sorry for this newbie question... :)
I have tried several time to install docker on my linux raring machine but never I succeed to do it correctly. I am sure this something simple that I should have done but still I don't find it !
I have followed the tutorial :
http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-raring
but when I try to use the command :
sudo apt-get install lxc-docker
I get the following error :
"Not possible to find the package lxc-docker"
so when I try the command : curl http://get.docker.io | sudo sh
I get :
I hajeangui@jeangui-portable:/usr/local/bin$ curl http://get.docker.io | sudo sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1834 100 1834 0 0 2353 0 --:--:-- --:--:-- --:--:-- 3869
Ensuring basic dependencies are installed...
Looking in /proc/filesystems to see if we have AUFS support...
Found.
Downloading docker binary to /usr/local/bin...
Upstart script already exists.
Starting dockerd...
Done.
But when I run : sudo docker
I get this exception : Impossible to launch binary file docker.
I have tried to purge the lxc-docker package but it seems not to be installed...
I don't understand.
Help help :) please.
cheers Jeangui
The order of commands should be:
sudo sh -c "curl https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install lxc-docker
That is, you first need to add the key for the personal package archive (ppa) and then add that archive to your apt sources.
Please see http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-raring-13-04-64-bit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With