From d675d0d6eae0afa07ee00de14e593e2364aa4334 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 7 Dec 2018 23:39:39 -0500 Subject: [PATCH] 1st --- Devuan_Ascii_Docker_CE_Install_Log | 44 ++++++++++++++++++++++++++++++ README.md | 5 ++++ 2 files changed, 49 insertions(+) create mode 100644 Devuan_Ascii_Docker_CE_Install_Log create mode 100644 README.md diff --git a/Devuan_Ascii_Docker_CE_Install_Log b/Devuan_Ascii_Docker_CE_Install_Log new file mode 100644 index 0000000..98afd8e --- /dev/null +++ b/Devuan_Ascii_Docker_CE_Install_Log @@ -0,0 +1,44 @@ +These instructions assume you are running an x86-64 Ascii build. They were tested in December of 2018 and are +likely to change. + +This was tested on a KVM VPS. + +Follow the instructions here: + +https://docs.docker.com/install/linux/docker-ce/debian/ + +On the step for adding the docker repo to apt.sources you will use +deb [arch=amd64] https://download.docker.com/linux/debian stretch stable + +instead of + sudo add-apt-repository \ + "deb [arch=amd64] https://download.docker.com/linux/debian \ + $(lsb_release -cs) \ + stable" + +which of course adds stretch compatible repos. + +At this point docker is installed, and the binary in /usr/bin/ is available but docker +server isn't running (for me). + +the command # dockerd +will run the docker daemon, but we want an init script. + +Note that this post (link: https://paddy-hack.gitlab.io/posts/sandwiching-docker-with-devuan/) mentions that +aufs is not supported in the Linux 4.9 image from Jessie-backports. +While Ascii uses 4.9, AUFS apparently works, no problem. No need to change to BTRFS in ASCII. + +However, there is a problem. +The sysvinit init scripts have been very recently removed from docker-ce (link: +https://github.com/docker/for-linux/issues/482) + +If you git clone github.com/moby/moby +and navigate to contrib/init/sysvinit-debian/ +you will find an init script there that can be used... +As well as a file for /etc/default + + + +And after adding this init file, docker will load the hello-world file. + +That's it! diff --git a/README.md b/README.md new file mode 100644 index 0000000..dd0615d --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +#FOSS Notes + + + +12/2018 - Devuan_Ascii_Docker_CE_Install_Log