GilGonGan Posted September 17, 2019 Posted September 17, 2019 OrangePiZero root@orangepizero:~# uname -r 4.19.59-sunxi root@orangepizero:~# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@orangepizero:~# Only run sud apt get update / upgrade and then sudo apt install docker.io however it threw out this 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; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2019-09-17 13:41:42 UTC; 65ms ago Docs: https://docs.docker.com Process: 9480 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE) Main PID: 9480 (code=exited, status=1/FAILURE) dpkg: error processing package docker.io (--configure): installed docker.io package post-installation script subprocess returned error exit status 1 Processing triggers for libc-bin (2.28-10) ... Processing triggers for systemd (241-7~deb10u1) ... Processing triggers for man-db (2.8.5-2) ... Errors were encountered while processing: docker.io E: Sub-process /usr/bin/dpkg returned an error code (1)
Igor Posted September 17, 2019 Posted September 17, 2019 Use armbian-config -> software -> docker ... on a fresh image. Or use instructions that works.
GilGonGan Posted September 18, 2019 Author Posted September 18, 2019 Thank you Igor - I googled some instructions which are perhaps out of date? I had no idea a simple menu based config was even built in! I'll have a play
GilGonGan Posted September 19, 2019 Author Posted September 19, 2019 This did end up working, is there a 'correct' CLI way to install docker though?
Igor Posted September 19, 2019 Posted September 19, 2019 7 hours ago, GilGonGan said: This did end up working, is there a 'correct' CLI way to install docker though? Our script uses "correct" way: 1. Adds sources 2. Download key 3. Update and installhttps://github.com/armbian/config/blob/master/debian-software#L785-L788 You can also check official instructions which does the same. There is a note: Older versions of Docker were called docker, docker.io , or docker-engine. If these are installed, uninstall them:
Kallico Frois Posted July 7, 2020 Posted July 7, 2020 Hi, @Igor I`ve installed a fresh build of armbian (Version 20.05.4) on a Tinkerboard and tried to install docker via armbian-config > software > Softy > Docker... The system show a "Getting packages" Screen, but it not installed the Docker. Can you help me? Thanks in advance.
NicoD Posted July 7, 2020 Posted July 7, 2020 19 minutes ago, Kallico Frois said: I`ve installed a fresh build of armbian (Version 20.05.4) on a Tinkerboard and tried to install docker via armbian-config > software > Softy > Docker... You could try manually installing it: https://docs.docker.com/engine/install/debian/
Igor Posted July 7, 2020 Posted July 7, 2020 57 minutes ago, Kallico Frois said: Can you help me? https://github.com/armbian/build#support
Tido Posted July 7, 2020 Posted July 7, 2020 What is the output from: # docker -v # docker-compose -v and please... Provide logs with armbianmonitor -u significantly raises chances that issue is getting addressed.
surenz Posted November 22, 2020 Posted November 22, 2020 (edited) @IgorI'm not quite sure if this is the problem but the current docker install script which I followed from your link above: https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script leads to download a script that differs from the script used in procedure install_docker in armbian-config. Thus errors 404 on docker install. On armbian-config script the expression echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/${family,,} $distribution edge" returns the broken value of deb [arch=armhf] https://download.docker.com/linux/ edge which leads to error when doing apt update for docker.list so unable to install docker-ce The script from the link I stated above puts this in the docker.list: deb [arch=armhf] https://download.docker.com/linux/debian buster stable which seems ok and the install goes further and installs the docker-ce. Edited November 22, 2020 by surenz correct repo in last code entry
Igor Posted November 22, 2020 Posted November 22, 2020 33 minutes ago, surenz said: procedure install_docker Perhaps this https://github.com/armbian/config/commit/22e8ac6f39bc19183e4eb106041c5d26458dafc2 will do.
surenz Posted November 22, 2020 Posted November 22, 2020 I see in the docker install script get-docker.sh) the following text: # The channel to install from: # * nightly # * test # * stable # * edge (deprecated) so I think that stable is OK instead of edge . At least on my armbian buster it installed the docker correctly and I'm currently trying Home assistant supervised install.
Recommended Posts