Cannot start docker.io with upstart in 16.04

Bug #1569763 reported by Marius B. Kotsbak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker.io (Ubuntu)
New
Undecided
Unassigned
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

The docker daemon is no longer running after upgrading to 16.04 beta:

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

$ /etc/init.d/docker restart
stop: Unknown instance:
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.178" (uid=1001 pid=11507 comm="start docker ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/upstart ")

Tags: xenial
summary: - Cannot connect to the Docker daemon. Is the docker daemon running on
- this host?
+ Cannot start docker.io with upstart in 16.04 beta
Revision history for this message
Marius B. Kotsbak (mariusko) wrote : Re: Cannot start docker.io with upstart in 16.04 beta

I see this that is the likely source of the problem:

$ sudo /usr/bin/docker daemon
FATA[0000] Error starting daemon: error initializing graphdriver: "/var/lib/docker" contains other graphdrivers: devicemapper; Please cleanup or explicitly choose storage driver (-s <DRIVER>)

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Solved by removing /var/lib/docker/devicemapper

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Which version of docker were you upgrading from/to? I don't have a /var/lib/docker/devicemapper, was that from an older version? (Sorry, I'm not familiar with the history of the docker packaging)

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I was upgrading from wily version of Docker.io. But I can't find that file/directory in the package. It seems it was created as data files: https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/

summary: - Cannot start docker.io with upstart in 16.04 beta
+ Cannot start docker.io with upstart in 16.04
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.