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

AI-generated summary

Troubleshooting Docker Installation on Linode

The original poster, liwei_swjtu, encountered issues installing Docker on their Linode VPS running Ubuntu 13.04 due to the absence of AUFS support. Rahul_Dhingra pointed out that Linode doesn’t support AUFS and suggested creating a custom kernel with AUFS support or switching to Digital Ocean.

trident recommended updating the kernel to the latest version and trying the installation script. However, liwei_swjtu found the solution complex and decided to run Discourse in the old way.

Rahul_Dhingra suggested using Digital Ocean with a swap disk for Discourse, citing the official installation guide.

supermathie emphasized the importance of using a supported OS, as Ubuntu 13.04 is no longer supported. liwei_swjtu mentioned finding a guide for installing Docker on Ubuntu 13.04, but supermathie reiterated that the OS is outdated.

liwei_swjtu eventually found a way to install Docker on the unsupported version by using an old release repository.

The thread also mentions similar issues with Ubuntu updates interfering with Docker and AUFS, and several users shared guides for installing Discourse on Linode with AUFS support.

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.

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'

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.

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.

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

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

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

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

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

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.

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

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

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.

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

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.

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

Last week I installed Discourse on Linode successfully. Provided all detailed steps here: http://crunchify.com/how-to-setup-discourse-org-forum-on-linode-correct-way-tested-and-verified-steps/

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