Question

Docker on Ubuntu 16.04 fails trying to lock /var/lib/apt/lists/lock

Posted May 17, 2016 1.7k views
DockerDeploymentUbuntu 16.04

Can’t get docker-machine to create new Digital Ocean server with Ubuntu 16.04.

http://stackoverflow.com/questions/37283312/docker-machine-create-with-digitalocean-driver-and-ubuntu-16-04-x64-fails

Clues anyone?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

This is an issue with a change to default behavior by Ubuntu. It defaults to automatic security updates, and as a result, the lock is left after create.

DO’s 16.04 image has been modified to disable this by default, so you should not see this anymore. If you do, I suggest opening a ticket directly through the “Support” section of the control panel with as much information as you can. This will let our support staff pass it along to our image team to review.

Submit an Answer