Jump to content

Alligator427

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Alligator427 got a reaction from gounthar in Docker on armbian!   
    Wow! Thanks ALIGMSTEN! This solve the issue completely. The last docker version is now working on Armbian bullseye kernel 4.9 on Orange pi zero2.
    Thanks for your help and for what you are doing!
    Here is the detailed procedure for the people that may experience the same issue.
     
    -Fresh install of Armbian_23.02.3_Orangepizero2_bullseye_legacy_4.9.318.img.xz
    http://xogium.performanceservers.nl/archive/orangepizero2/archive/Armbian_23.02.3_Orangepizero2_bullseye_legacy_4.9.318.img.xz
     
    sudo apt-get update
    sudo apt-get upgrade
     
    -add the following to /boot/armbianEnv.txt
    extraargs=systemd.unified_cgroup_hierarchy=0
     
    -return to prompt
    sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
     
    -reboot
     
    -install docker according to https://docs.docker.com/engine/install/debian/ (below)
    sudo apt-get update
    sudo apt-get install ca-certificates curl gnupg
    sudo install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    sudo chmod a+r /etc/apt/keyrings/docker.gpg
     
    -Then
    echo \
      "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
      "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
      sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
     
    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    sudo reboot
     
    -Test docker with
    sudo docker run hello-world
     
  2. Like
    Alligator427 got a reaction from ALIGMSTEN in Docker on armbian!   
    Wow! Thanks ALIGMSTEN! This solve the issue completely. The last docker version is now working on Armbian bullseye kernel 4.9 on Orange pi zero2.
    Thanks for your help and for what you are doing!
    Here is the detailed procedure for the people that may experience the same issue.
     
    -Fresh install of Armbian_23.02.3_Orangepizero2_bullseye_legacy_4.9.318.img.xz
    http://xogium.performanceservers.nl/archive/orangepizero2/archive/Armbian_23.02.3_Orangepizero2_bullseye_legacy_4.9.318.img.xz
     
    sudo apt-get update
    sudo apt-get upgrade
     
    -add the following to /boot/armbianEnv.txt
    extraargs=systemd.unified_cgroup_hierarchy=0
     
    -return to prompt
    sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
     
    -reboot
     
    -install docker according to https://docs.docker.com/engine/install/debian/ (below)
    sudo apt-get update
    sudo apt-get install ca-certificates curl gnupg
    sudo install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    sudo chmod a+r /etc/apt/keyrings/docker.gpg
     
    -Then
    echo \
      "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
      "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
      sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
     
    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    sudo reboot
     
    -Test docker with
    sudo docker run hello-world
     
  3. Like
    Alligator427 reacted to ajkelsey in Docker on armbian!   
    Hi. I am attempting to install  docker and I've hit a snag in the installation. I followed the instructions here: https://docs.docker.com/engine/install/ubuntu/
     
    For some reason the docker service did not start. Here is the error from installation and the systemctl status:
     
    Setting up docker-ce (5:20.10.18~3-0~ubuntu-jammy) ... Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xeu docker.service" 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 2022-10-10 19:40:40 EDT; 39ms ago TriggeredBy: ● docker.socket Docs: https://docs.docker.com Process: 15936 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 15936 (code=exited, status=1/FAILURE) CPU: 367ms dpkg: error processing package docker-ce (--configure): installed docker-ce package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.10.2-1) ... Errors were encountered while processing: docker-ce E: Sub-process /usr/bin/dpkg returned an error code (1) admin@lepotato:~$ sudo systemctl status docker.service × docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2022-10-10 19:40:49 EDT; 2min 0s ago TriggeredBy: × docker.socket Docs: https://docs.docker.com Process: 16057 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 16057 (code=exited, status=1/FAILURE) CPU: 473ms Oct 10 19:40:49 lepotato systemd[1]: docker.service: Scheduled restart job, restart counter is at 3. Oct 10 19:40:49 lepotato systemd[1]: Stopped Docker Application Container Engine. Oct 10 19:40:49 lepotato systemd[1]: docker.service: Start request repeated too quickly. Oct 10 19:40:49 lepotato systemd[1]: docker.service: Failed with result 'exit-code'. Oct 10 19:40:49 lepotato systemd[1]: Failed to start Docker Application Container Engine.  
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines