Jump to content

Docker on armbian!

Recommended Posts

Few simple steps to install docker and docker compose on clean Armbian_20.05.4_Odroidxu4_focal_current_5.4.41 ODROID-HC1

Thanks to official docs https://docs.docker.com/engine/install/ubuntu/


    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -

    # Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88 - you may skip this

    apt-key fingerprint 0EBFCD88

    # add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

    add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu bionic stable" # there is no repository for focal :(

    apt-get update

    apt-get install docker-ce docker-ce-cli containerd.io

    docker run --rm hello-world # test - you may skip

    docker --version


    apt install python3-pip

    apt install python3-dev

    apt install libffi-dev

    apt install libssl-dev

    pip3 install docker-compose

    docker-compose --version


That's all, enjoy

Sorry for necroposting

Link to comment
Share on other sites

Donate and support the project!

As the documentation is now marked as obsolete, what is the correct way to install Docker on a recent Armbian Buster?

  ___                             ____  _   _  _
 / _ \ _ __ __ _ _ __   __ _  ___|  _ \(_) | || |
| | | | '__/ _` | '_ \ / _` |/ _ \ |_) | | | || |_
| |_| | | | (_| | | | | (_| |  __/  __/| | |__   _|
 \___/|_|  \__,_|_| |_|\__, |\___|_|   |_|    |_|
Welcome to Armbian 20.08.17 Buster with Linux 5.8.17-rockchip64


I think at one time, it was available in armbian-config, but I may be wrong.. And I'm trying that on an unsupported board (OrangePi4).

Here is what I have done:

sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world


Link to comment
Share on other sites

Thanks for the tip.

I will try it on another machine with a fresh install, as I get :

apt install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 docker.io : Depends: runc (>= 1.0.0~rc6~)
E: Unable to correct problems, you have held broken packages.


Link to comment
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.

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.


  • Create New...