How to make Docker work on Debian Stretch

Docker provides .deb files for docker:

deb delian-stretch main

However, these don’t work on Debian Stretch (AMD64) because the kernel does not support the AUFS file system. Switching to the overlay file system leads for me to permission problems in the /var/lib/docker/overlay hierarchy (even when root).

  • Setting a static IP to docker container using LXC driver
  • Docker Swarm - Manager unreachable but status still ready
  • Docker intermittently failing to start container
  • Can I use docker to provide a simple file overlay over my current system?
  • Docker DNS not working
  • docker 1.9.0 network support in mesos
  • I switched to the overlay file system by starting the docker daemon with --storage-driver overlay — this was suggested as a fix in some comments on the Debian bug tracker.

    So, what does work?

  • Docker 500 error
  • Django wont start with Docker
  • Bamboo “cannot connect to Docker daemon”
  • Jenkins build failing due to docker on GCE
  • Docker - Should my MySQL database live inside or outside the container?
  • Remove local Docker images on macOS
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.