Install Docker
|
27th Mar, 2019, 02:29 AM
Post: #1
|
|||
|
|||
Install Docker
Hi,
I'm trying to install docker on xbian. If I use the install script for raspbian to install docker-ce, the installation run without shown errors. I use the following guide: https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-convenience-script But the service/deamon docker is not starting. has anyone experience to install docker in a xbian environment? Is there any guide to get it run? portboy |
|||
2nd Apr, 2019, 07:31 AM
Post: #2
|
|||
|
|||
RE: Install Docker
I'm sorry, I do not have any docker experience
I suppose that this procedure installs systemd skripts only, but XBian is using upstart |
|||
5th Apr, 2019, 03:52 AM
Post: #3
|
|||
|
|||
RE: Install Docker
I downloaded the package from here:
https://download.docker.com/linux/debian/dists/stretch/pool/stable/armhf/ And it contains an /etc/init.d/docker start/stop script: Terminal xbian@avr ~ $ dpkg-deb -c docker-ce_18.09.4~3-0~debian-stretch_armhf.deb drwxr-xr-x root/root 0 2019-03-27 19:45 ./ drwxr-xr-x root/root 0 2019-03-27 19:45 ./etc/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./etc/default/ -rw-r--r-- root/root 654 2019-03-27 19:01 ./etc/default/docker drwxr-xr-x root/root 0 2019-03-27 19:45 ./etc/init/ -rw-r--r-- root/root 1875 2019-03-27 19:01 ./etc/init/docker.conf drwxr-xr-x root/root 0 2019-03-27 19:45 ./etc/init.d/ -rwxr-xr-x root/root 3843 2019-03-27 19:01 ./etc/init.d/docker drwxr-xr-x root/root 0 2019-03-27 19:45 ./lib/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./lib/systemd/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./lib/systemd/system/ -rw-r--r-- root/root 1684 2019-03-27 19:45 ./lib/systemd/system/docker.service -rw-r--r-- root/root 197 2019-03-27 19:45 ./lib/systemd/system/docker.socket drwxr-xr-x root/root 0 2019-03-27 19:45 ./usr/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./usr/bin/ -rwxr-xr-x root/root 387564 2019-03-27 19:45 ./usr/bin/docker-init -rwxr-xr-x root/root 2798536 2019-03-27 19:45 ./usr/bin/docker-proxy -rwxr-xr-x root/root 50184184 2019-03-27 19:45 ./usr/bin/dockerd-ce drwxr-xr-x root/root 0 2019-03-27 19:45 ./usr/share/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./usr/share/doc/docker-ce/ -rw-r--r-- root/root 1576 2019-03-27 19:01 ./usr/share/doc/docker-ce/README.md -rw-r--r-- root/root 146 2019-03-27 19:45 ./usr/share/doc/docker-ce/changelog.Debian.gz drwxr-xr-x root/root 0 2019-03-27 19:45 ./var/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./var/lib/ drwxr-xr-x root/root 0 2019-03-27 19:45 ./var/lib/docker-engine/ -rw-r--r-- root/root 140 2019-03-27 19:45 ./var/lib/docker-engine/distribution_based_engine-ce.json So below one should trigger it to start at boot: Code: sudo update-rc.d docker defaults There are only 10 types of people in the world: those who understand binary, and those who don't |
|||
12th May, 2019, 05:54 AM
Post: #4
|
|||
|
|||
RE: Install Docker
I've installed and run Docker successfully on 2 different XBian systems, so I made a script to install it:
Code: #!/bin/sh On one machine, I'm running PiHole now in a Docker container You can cut and paste the script, store it make it executable and run it with sudo. Btw, Docker daemon is started automatically on reboot |
|||
3rd Mar, 2022, 07:42 PM
Post: #5
|
|||
|
|||
RE: Install Docker
It would be great if someone could explain how they managed to install it in their xbian environment. smash karts mapquest driving directions
|
|||
« Next Oldest | Next Newest »
|