Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Better docker support
PostPosted: Tue Aug 23, 2016 5:09 am 
Offline
Senior Newbie

Joined: Mon Apr 09, 2012 6:10 am
Posts: 5
The current hot thing on the block is Docker, and with Docker Swarm, Kubernetes and similar scaling software, managing even a minutely complicated infrastructure is becoming super easy. The one thing missing in this ecosystem and Linode is the fact that Docker support Out-of-the-box is pretty lacking. Are there any plans to support this without having to manually upgrade the kernel and switch to GRUB2 in the interface, and reboot, etc? With the hourly pricing you'd really want to be in a position where you could dynamically scale up and down based on demand... Or just add more server capacity as the service grows with a small configuration change.


Top
   
PostPosted: Thu Aug 25, 2016 8:08 pm 
Offline
Senior Newbie

Joined: Thu Feb 05, 2009 3:26 pm
Posts: 11
+1

using dokku for some smaller projects


Top
   
PostPosted: Thu Aug 25, 2016 9:19 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 376
Website: http://www.jebblue.net
>> The one thing missing in this ecosystem and Linode is the fact that Docker support Out-of-the-box is pretty lacking.

It works fine for me.


Top
   
PostPosted: Fri Aug 26, 2016 12:25 pm 
Offline
Senior Member

Joined: Wed Jul 01, 2015 10:33 am
Posts: 103
You shouldn't have to do any of those configuration changes. Simple process, not sure how more out of the box you can get. We have a guide on simple Docker usage here: https://www.linode.com/docs/application ... lamp-stack


Top
   
PostPosted: Sat Jan 14, 2017 2:11 am 
Offline

Joined: Sat Jan 14, 2017 1:59 am
Posts: 1
$ docker pull circleci/build-image:ubuntu-14.04-XL-783-8f4b56f &
$ df -h

dev/dm-1 9.8G 922M 8.4G 10% /var/lib/docker/devicemapper/mnt/d497e4350da9a63b2a62a9987490b959501a6be9552aabee67e946874562147b

device mapper usage reaches 100% before pull is complete
fails with error

failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /opt/circleci/python/3.3.5/lib/python3.3/test/__pycache__/test_argparse.cpython-33.pyo: no space left on device

devicemapper is known to corrupt docker. Need aufs:
https://meta.discourse.org/t/how-to-ins ... node/39831

I need something less surgical than these instructions. Do you have an out of the box distro that works?

Mark
96GB linode


Top
   
PostPosted: Fri Feb 24, 2017 6:09 pm 
Offline

Joined: Fri Feb 24, 2017 5:44 pm
Posts: 1
This topic now has 14000 views, more than any other item!

What Linode lacks is an officially endorses/supported docker-machine driver. AWS, DO, Azure, Google Cloud Compute and more (https://docs.docker.com/machine/drivers/) all have official support.

Please see here for more info: https://github.com/docker/machine/pull/268 There are many people asking for this.

Please write an article and provide support for this driver so Linode can be included in the above driver list.

Thanks.


Top
   
PostPosted: Sat Feb 25, 2017 11:52 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 376
Website: http://www.jebblue.net
Maybe someone wrote a view bot? I have run Docker on my Linode for a year or two and still haven't found a use for it. Until Docker is as secure as a virtual machine and until it runs on all Windows 10 devices and not just on $200 Windows Professional...Docker isn't very useful to me.


Top
   
PostPosted: Wed Mar 08, 2017 6:49 am 
Offline
Senior Newbie

Joined: Mon Apr 09, 2012 6:10 am
Posts: 5
For example the included kernels do not support AUFS or the networking capabilities required for a proper swarm setup.

See related github issue here: https://github.com/docker/machine/issues/2753
Code:
starting container failed: subnet sandbox join failed for \"10.0.0.0/24\": error creating vxlan interface: operation not supported
The solution to most problems is to dump the linode signed kernels.


Top
   
PostPosted: Wed Mar 08, 2017 10:22 am 
Offline
Senior Newbie

Joined: Mon Jan 16, 2017 3:40 pm
Posts: 7
Just an fyi, all of the Recommended distributions in the Linode Manager will boot the distro-supplied kernels just by setting them to GRUB 2. No need to install anything, mess with grub or any of that anymore. From the Github link, it seems this should alleviate the problems you're seeing when using Docker with the Linode kernel.

Here's a little more info and a walkthrough for those who aren't familiar with the Boot Settings menu:
https://linode.com/docs/tools-reference ... l-with-kvm


Top
   
PostPosted: Tue Mar 21, 2017 9:55 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 47
Website: http://www.rassoc.com/gregr/weblog
Quote:
Just an fyi, all of the Recommended distributions in the Linode Manager will boot the distro-supplied kernels just by setting them to GRUB 2. No need to install anything, mess with grub or any of that anymore. From the Github link, it seems this should alleviate the problems you're seeing when using Docker with the Linode kernel.
I ran into the vxlan issue for Docker swarm mode today on Ubuntu 16.04, and changing to GRUB 2 did indeed seem to fix it.

Are there any gotchas or anything to be aware of when running this kernel instead of the Linode default kernel? Am I losing anything by running it?


Top
   
PostPosted: Thu Mar 23, 2017 10:34 am 
Offline
Senior Newbie

Joined: Mon Jan 16, 2017 3:40 pm
Posts: 7
Quote:
I ran into the vxlan issue for Docker swarm mode today on Ubuntu 16.04, and changing to GRUB 2 did indeed seem to fix it.

Are there any gotchas or anything to be aware of when running this kernel instead of the Linode default kernel? Am I losing anything by running it?
When booting with GRUB 2, you're using the distribution's kernel as it's supplied from upstream. We don't change anything there and we don't have any special config provided to us. The only gotchas are if you're running CentOS or Fedora, and that's concerning SELinux (see https://linode.com/docs/tools-reference ... vm#caveats). Just keep your packages up to date and you'll keep up with kernel security patches from Canonical.

If you want the gory details, you can cat the kernel configs into files to diff. Grub2 boot and:
cat /boot/config-`uname -r` > kernelconfig_canonical

Then boot with the latest Linode kernel and:
zcat /proc/config.gz > kernelconfig_linode


Top
   
PostPosted: Fri Nov 03, 2017 7:24 pm 
Offline
Newbie

Joined: Fri Nov 03, 2017 7:22 pm
Posts: 2
I was having issues with Docker Swarm in Linode.

Changing the kernel resulted to be quite easy in the Dashboard interface. And it solved my issues.

The full steps with screenshots are in this comment: https://github.com/docker/machine/issue ... -341850111


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group