Work on Free and Open Source Software. GPL software that works for the user not for the man.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

5 years ago
  1. These instructions assume you are running an x86-64 Ascii build. They were tested in December of 2018 and are
  2. likely to change.
  3. This was tested on a KVM VPS.
  4. Follow the instructions here:
  5. https://docs.docker.com/install/linux/docker-ce/debian/
  6. On the step for adding the docker repo to apt.sources you will use
  7. deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
  8. instead of
  9. sudo add-apt-repository \
  10. "deb [arch=amd64] https://download.docker.com/linux/debian \
  11. $(lsb_release -cs) \
  12. stable"
  13. which of course adds stretch compatible repos.
  14. At this point docker is installed, and the binary in /usr/bin/ is available but docker
  15. server isn't running (for me).
  16. the command # dockerd
  17. will run the docker daemon, but we want an init script.
  18. Note that this post (link: https://paddy-hack.gitlab.io/posts/sandwiching-docker-with-devuan/) mentions that
  19. aufs is not supported in the Linux 4.9 image from Jessie-backports.
  20. While Ascii uses 4.9, AUFS apparently works, no problem. No need to change to BTRFS in ASCII.
  21. However, there is a problem.
  22. The sysvinit init scripts have been very recently removed from docker-ce (link:
  23. https://github.com/docker/for-linux/issues/482)
  24. If you git clone github.com/moby/moby
  25. and navigate to contrib/init/sysvinit-debian/
  26. you will find an init script there that can be used...
  27. As well as a file for /etc/default
  28. And after adding this init file, docker will load the hello-world file.
  29. That's it!