0
GilGonGan

Is it possible to install docker? Fresh latest build

Recommended Posts

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)
 

 

 

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites
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 install

https://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:

Share this post


Link to post
Share on other sites
(edited)

hello,

 

 

Windows 10 Home didn't have Hyper-V, so there's a special Docker edition that uses VirtualBox to run Linux containers on Windows 10 Home, which is not as great as the Professional version

 

 

regards

Edited by namanjohnson101

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0