Report this

What is the reason for this report?

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

Posted on May 17, 2016

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?



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.