Docker snap fails to start

As of now, docker snap requires some manual setup to have account-control connected after the first installation. Basically, it’s a workaround we leave for the missing feature of system user/group on snappy. Only with this, the login user can run docker under the $HOME without sudo.

You can run the following command to make docker snap works on Ubuntu Core 16 upon installation.

$  sudo snap connect docker:account-control :account-control
$  sudo snap connect docker:home :home
$  snap disable docker && snap enable  docker
$  newgrp docker-snap

Meanwhile, you can run the following command to learn how to setup docker snap on Classic.

$ docker.help

P.S Regarding the usage of account-control interface in docker-snap, it’s still under discussion. You can check this thread for more details
Snap declaration request for docker-snap

Thanks.

1 Like