“Setting up docker-ce (5:18.09.3~3-0~ubuntu-bionic) …
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/doc kerd-ce because link group dockerd is broken
Job for docker.service failed because the control process exited with error code .
See “systemctl status docker.service” and “journalctl -xe” for details.
invoke-rc.d: initscript docker, action “start” failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e nabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2019-03-17 10 :52:54 UTC; 57ms ago
Docs: https://docs.docker.com
Process: 3908 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd /containerd.sock (code=exited, status=1/FAILURE)
Main PID: 3908 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (–configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)”
sudo service docker status
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-03-23 19:35:31 CST; 2min 40s ago
Docs: https://docs.docker.com
Main PID: 3625 (dockerd)
Tasks: 33
CGroup: /system.slice/docker.service
├─3625 /usr/bin/dockerd -H fd://
└─3647 docker-containerd --config /var/run/docker/containerd/containerd.toml
Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.088391507+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.088708845+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0x4420174e80, CONNECTING" module=grp
Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.091399506+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0x4420174e80, READY" module=grpc
Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.091755635+08:00" level=info msg="Loading containers: start."
Mar 23 19:35:30 linux dockerd[3625]: time="2019-03-23T19:35:30.349854055+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon opt
Mar 23 19:35:30 linux dockerd[3625]: time="2019-03-23T19:35:30.963182059+08:00" level=info msg="Loading containers: done."
Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.081056747+08:00" level=info msg="Docker daemon" commit=d7080c1 graphdriver(s)=overlay2 version=18.06.3-ce
Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.082035301+08:00" level=info msg="Daemon has completed initialization"
Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.147043288+08:00" level=info msg="API listen on /var/run/docker.sock"
Mar 23 19:35:31 linux systemd[1]: Started Docker Application Container Engine.
Are there prerequisites for this? I did a fresh install of rockpi4b-ubuntu-bionic-minimal-20190104_2101-gpt.img and after that I followed the Wiki above to install Docker and it did not work.
Setting up docker-ce (5:18.09.4~3-0~ubuntu-bionic) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2019-04-08 23:15:45 UTC; 40ms ago
Docs: https://docs.docker.com
Process: 2969 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 2969 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ...
Setting up perl (5.26.1-6ubuntu0.3) ...
Setting up liberror-perl (0.17025-1) ...
Setting up git (1:2.17.1-1ubuntu0.4) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.19) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
No it confused me but it sort of uninstalls non used packages and keeps them in a local cache of sorts.
From actually playing and not reading what it does.
The 960board package installs the resize service which it just disables after first use, its still there though.
sudo systemctl enable resize-helper.service to enable again so any image you ship will resize on first reboot.
A guide would be very helpful, i’m looking to install docker on the Hornblende image that’s floating around here. I’d like to use this docker to run jupyter notebooks so i can write a digital book for my students, i’m a mechanics lecturer (therefore my IT skills are not the best ).
The idea is a public domain 24/7 using something like dyndns. I’m interested in learning more about linux frond end and backend communication aswell, therefore i’m not hosting the info on github and such.
set the host ip to the same 192.168.1.7 with hostport 8080 and the above works straight from the go also all the others I have tried also are the same.
Its not docker but jupyter and maybe it needs privileged containers didn’t try and fairly easy but you are prob better asking in the jupyter forums as never used jupyter before