Question

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

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.