Can't install Docker on Linode, aufs-tools not found


(liwei_swjtu) #1

I’m using linode box with Ubuntu13.04,when I tried to install docker, appears the following erros:

root@bbs:/home/dushu# sudo apt-get install lxc-docker --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  ruby-dev
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  aufs-tools cgroup-lite lxc-docker-1.1.2
The following NEW packages will be installed:
  aufs-tools cgroup-lite lxc-docker lxc-docker-1.1.2
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 91.8 kB/4,524 kB of archives.
After this operation, 18.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  aufs-tools cgroup-lite
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ raring/universe aufs-tools amd64 1:3.0+20120411-3ubuntu1
  404  Not Found [IP: 2001:67c:1562::13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb  404  Not Found [IP: 2001:67c:1562::13 80]
Unable to correct missing packages.
E: Aborting install.

Has anybody seen this before,any suggestion will be grateful.


What problem with my installation
Double number of clicks notification badge
(liwei_swjtu) #2

also ,when I tried to install the AUFS,appears the following erros:

root@bbs:/home/dushu# sudo apt-get install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-extra-3.15.4-x86_64-linode45
E: Couldn't find any package by regex 'linux-image-extra-3.15.4-x86_64-linode45'

(Rahul Dhingra) #3

Linode does not support AUFS below is their official support response:

“Hello,Our kernels do not currently include AUFS support–you may create your own kernel with AUFS support as you mentioned.Please let us know should you have any additional questions.”

here is blog post about how to do it Customizing a Linode kernel | PyTux

I find it bit complex solution so switched to Digital Ocean which does support AUFS out of the box.


(Ben T) #4

Make sure that your kernel is the most updated version (dist-upgrade) before installing the extras package. You can also try updating to 14.04, then:

curl -sSL https://get.docker.io/ubuntu/ | sudo sh

Note that you can try to run the above script as-is for 13.04, and it may work.


(liwei_swjtu) #5

I read the blog post and find it a little bit complicated too.So you’re suggesting that I should change my VPS?


(liwei_swjtu) #6

still with bad luck.I decide to run discourse in the old way first.


(Rahul Dhingra) #7

For discourse yes I would suggest Digital Ocean with 1GB RAM and with 2 GB swap disk as recommended by codinghorror

Here is official installation guide.

P.S: I still Prefer Linode over Digital Ocean for their support/stability and backup system. but until they start supporting AUFS officially, Digital Ocean is next best option for me.
Thanks


(liwei_swjtu) #8

Thanks a lot. I’ve decided to run discourse in the old way first.


(Jeff Atwood) #9

Any reason we don’t point to your howto here on troubleshooting Docker setup?


(Michael Brown) #10

That’s the easiest way, or as @Rahul_Dhingra pointed out - compile your own kernel with AUFS support.

Regardless you should change to a supported OS - 13.04 is out of support and it’s quite possible that packages are no longer available for that distribution.


(liwei_swjtu) #11

I’ve seen the docker official website has a guide for installing docker on Ubuntu of version 13.04 64 bit.


(Michael Brown) #12

That’s nice. Doesn’t change anything. 13.04 is out of support and you shouldn’t use it.


(Ben T) #13

That guide does not cover issues with the actual install process for docker; it assumes that it is currently running. I’ll try to add in some more detail when I have time.


(liwei_swjtu) #14

I’ve found a way to install docker on unsupported version.Here’s the answer:http://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-old-unsupported-release


(Renoir Boulanger) #15

This issue is similar to “Ubuntu updates intefere with docker and aufs”.

If you are using Ubuntu 14.04 LTS, regardless of whether you run on Linode, or any OpenStack powered providers, you can take a look at my answer I posted there

First post I made in this thread made me write a long answer that was going wider than answering the question of that thread. I decided to move it to a blog post instead.


Double number of clicks notification badge
(Dan Dascalescu) #16

I’ve just installed AUFS and Discourse on a Linode VPS and have put together a guide:


(App) #17

Last week I installed Discourse on Linode successfully. Provided all detailed steps here: How to Setup Discourse.org Forum on Linode correct way - Tested and Verified Steps • Crunchify

Hope it works for others too. Let me know if you face any issue in steps provided.