New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get docker running on linode #629

Closed
ysimonson opened this Issue May 17, 2013 · 8 comments

Comments

Projects
None yet
5 participants
@ysimonson

I'm getting this error:

$ docker run -i -t ubuntu /bin/bash
Error: Unable to load the AUFS module

I followed the steps documented here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise

As suggested in #469, but it didn't work for me. Using the lowest box (1GB). Tried it with both Ubuntu 12.04 and 13.04 (64-bit). Everything works fine up until I run that command.

@ysimonson

This comment has been minimized.

Show comment
Hide comment
@ysimonson

ysimonson May 17, 2013

Ah! Literally figured it out as I was reviewing this ticket. Turns out if you install docker via apt with the linode fix, it won't work. You have to install it via the curl command: curl http://get.docker.io | sh

Ah! Literally figured it out as I was reviewing this ticket. Turns out if you install docker via apt with the linode fix, it won't work. You have to install it via the curl command: curl http://get.docker.io | sh

@ysimonson ysimonson closed this May 17, 2013

@kencochrane

This comment has been minimized.

Show comment
Hide comment
@kencochrane

kencochrane May 17, 2013

Contributor

@ysimonson do you by chance have the notes you used to get it working, I would love to add some docs for getting it up and running on linode to the docker docs. I would do it myself, but I don't have a linode account, so it makes it hard until I get off my butt and go and create one :). If you can send me the notes I can clean them up and put them in the docs.

Contributor

kencochrane commented May 17, 2013

@ysimonson do you by chance have the notes you used to get it working, I would love to add some docs for getting it up and running on linode to the docker docs. I would do it myself, but I don't have a linode account, so it makes it hard until I get off my butt and go and create one :). If you can send me the notes I can clean them up and put them in the docs.

@ysimonson

This comment has been minimized.

Show comment
Hide comment
@ysimonson

ysimonson May 17, 2013

Yep, it was pretty straight-forward.

  1. Followed the instructions here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise

The only thing that wasn't quite straight-forward about that was how to get to the options in the last step: "Update your Linode profile, disable "Xenify Distro", and set the kernel to "pv-grub-x86_32" or "pv-grub-x86_64" depending on your installation, then reboot the profile."

You do this by going to the linode dashboard, and clicking "edit" next to the configuration profile:

screen shot 2013-05-17 at 6 28 45 pm

  1. Boot the image back up and run curl http://get.docker.io | sh.

That was it.

Yep, it was pretty straight-forward.

  1. Followed the instructions here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise

The only thing that wasn't quite straight-forward about that was how to get to the options in the last step: "Update your Linode profile, disable "Xenify Distro", and set the kernel to "pv-grub-x86_32" or "pv-grub-x86_64" depending on your installation, then reboot the profile."

You do this by going to the linode dashboard, and clicking "edit" next to the configuration profile:

screen shot 2013-05-17 at 6 28 45 pm

  1. Boot the image back up and run curl http://get.docker.io | sh.

That was it.

@kencochrane

This comment has been minimized.

Show comment
Hide comment
@kencochrane

kencochrane May 31, 2013

Contributor

@ysimonson awesome, thanks for the tips, that will be very helpful. /cc @jpetazzo

Contributor

kencochrane commented May 31, 2013

@ysimonson awesome, thanks for the tips, that will be very helpful. /cc @jpetazzo

@mikemilano

This comment has been minimized.

Show comment
Hide comment
@mikemilano

mikemilano Jul 21, 2013

Thanks @ysimonson !

In case anyone else is looking to do this, I documented the process all in one place, with both curl & "getting started" methods of installing Docker: http://coder1.com/node/87

Thanks @ysimonson !

In case anyone else is looking to do this, I documented the process all in one place, with both curl & "getting started" methods of installing Docker: http://coder1.com/node/87

@sebv

This comment has been minimized.

Show comment
Hide comment
@sebv

sebv Oct 4, 2013

Any idea how to set cgroup_enable=memory swapaccount=1 on Linode?
Standard method is not working, probably due to grub linode config.

sebv commented Oct 4, 2013

Any idea how to set cgroup_enable=memory swapaccount=1 on Linode?
Standard method is not working, probably due to grub linode config.

@sebv

This comment has been minimized.

Show comment
Hide comment
@sebv

sebv Oct 4, 2013

got it:

in /boot/grub/menu.lst

# defoptions=console=hvc0 rootflags=nobarrier cgroup_enable=memory swapaccount=1

then run update-grub-legacy-ec2

sebv commented Oct 4, 2013

got it:

in /boot/grub/menu.lst

# defoptions=console=hvc0 rootflags=nobarrier cgroup_enable=memory swapaccount=1

then run update-grub-legacy-ec2

@denevell

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment