I have just tried to install Docker on my Raspberry after a fresh install of the system. I have used the script with curl:
curl -sSL https://get.docker.com | sh
the install fail due to an error:
E: Sub-process /usr/bin/dpkg returned an error code (1)
My problem is that now i can’t both remove the docker installation or run a correct installation…
Every time that I’m trying to do update or upgrade
i receive this message:
Setting up docker-ce (17.10.0~ce-0~raspbian) ... 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 Fri 2017-11-10 08:48:33 CET; 31ms ago Docs: https://docs.docker.com Process: 18135 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE) Main PID: 18135 (code=exited, status=1/FAILURE) CPU: 382ms Nov 10 08:48:33 rasp systemd[1]: docker.service: Unit entered failed state. Nov 10 08:48:33 rasp systemd[1]: docker.service: Failed with result 'exit-code'. dpkg: error processing package docker-ce (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: docker-ce E: Sub-process /usr/bin/dpkg returned an error code (1)