<div dir="ltr">Hi!<div><br></div><div>Docker is since some days available as a properly confined snap. This will work on top of classic Ubuntu 16.04+ or on top of an up-to-date Ubuntu Core series 16.</div><div><br></div><div>Because the docker.sock path is hardcoded in a lot of images, this snap conflicts with docker debs, so make sure you remove them first:</div><div>sudo apt purge docker docker-engine</div><div><br></div><div>Create a system group for docker:</div><div>sudo groupadd --system docker</div><div><br></div><div>Install the snap:</div><div>sudo snap install docker</div><div><br></div><div>And connect the interfaces (these will go away we have a snap-declaration in place):</div><div><div>sudo snap connect docker:docker-cli docker:docker-daemon</div><div>sudo snap connect docker:firewall-control ubuntu-core:firewall-control</div><div>sudo snap connect docker:support ubuntu-core:docker-support</div><div>sudo service snap.docker.dockerd stop</div><div>sudo service snap.docker.dockerd start</div></div><div><br></div><div>You're now ready to use docker, e.g.:</div><div>sudo /snap/bin/docker run --rm -it hello-world<br></div><div>sudo /snap/bin/docker run --rm -it ubuntu</div><div><br></div><div>At the moment, the Docker snap is available for amd64, armhf, arm64, i386.<br></div><div><div><br></div><div>Docker-compose is also included, and may be used with the "docker.compose" command.</div><div><br></div><div>Want to read more about docker? Read the <a href="https://docs.google.com/document/d/1JHa6tkuR9PtpnAVVmAJIAKuyKBy8E9ZkvG5Wbc6HZSY/edit?usp=sharing">Docker snap status and FAQ doc</a>!</div><div><br></div></div><div>Have fun and please report issues against <a href="https://github.com/docker-snap/docker">https://github.com/docker-snap/docker</a></div><div><br></div><div>Cheers,</div><div><div class="gmail_signature"><div dir="ltr">- Loïc Minier</div></div>
</div></div>