Vincent123
-
Content Count
3 -
Joined
-
Last visited
Posts posted by Vincent123
-
-
hi @tooz,
Thanks for your reply.
Background:
My targeted Tinkerboard software is supported by docker in TinkerOS Debian-Stretch-V1.0.4, but not sure is it supported in TinkerOS @Debian 10. Therefore I would like to install docker in Stretch.
My board information:
- Tinkerboard edge R (R1.01)
- OS image: Tinker_Edge_R-Debian-Stretch-V1.0.4-20200615.zip
I tried your "(updated/ easier way to install)",
Errors and related commands are listed below:
Quote#command:#errors:E: Unable to locate package docker-compose-plugin
E: Unable to locate package docker-ce-rootless-extras
E: Unable to locate package docker-buildx-pluginDetailed output at the end of this reply.No errors before that.
I tried download docker from
https://download.docker.com/linux/debian/dists/stretch/stable/binary-arm64/Packages
then I try install using "apt install ./Packages" but not working.
Would you please advise me on how to install docker for Debian stretch?
BTW, in command below, I assume you mean "https" instead of htts.
Quote(updated/ easier way to install)
curl -fsSL htts://get.docker.com -o get-docker.sh && sh get-docker.sh
Thank you very much @tooz!
Quote#detailed command outputlinaro@linaro-alip:/N/tinkerboard-setup$ sudo curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh | tee get-docker.sh.log
# Executing docker install script, commit: a8a6b338bdfedd7ddefb96fe3e7fe7d4036d945aDEPRECATION WARNING
This Linux distribution (debian stretch) reached end-of-life and is no longer supported by this script.
No updates or security fixes will be released for this distribution, and users are recommended
to upgrade to a currently maintained version of debian.Press Ctrl+C now to abort this script, or wait for the installation to continue.
+ sudo -E sh -c apt-get update -qq >/dev/null
W: Target Packages (stable/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c mkdir -p /etc/apt/keyrings && chmod -R 0755 /etc/apt/keyrings
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
gpg: WARNING: unsafe ownership on homedir '/home/linaro/.gnupg'
+ sudo -E sh -c chmod a+r /etc/apt/keyrings/docker.gpg
+ sudo -E sh -c echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian stretch stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
W: Target Packages (stable/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/docker.list:1
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null
E: Unable to locate package docker-compose-plugin
E: Unable to locate package docker-ce-rootless-extras
E: Unable to locate package docker-buildx-plugin#Previous command output
linaro@linaro-alip:/N/tinkerboard-setup$ sudo sudo apt-get install ca-certificates curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20200601~deb9u2).
curl is already the newest version (7.52.1-5+deb9u16). -
Hi,
Is this "(updated/ easier way to install" applicable to Debian GNU/Linux 9.9 (stretch) for Tinkerboard?
If yes, there is no 'iptable-legacy' in my tinkerboard.
Quote$ ls /usr/sbin/iptables-legacy
ls: cannot access '/usr/sbin/iptables-legacy': No such file or directoryif no, is there new way of installation for Debian 9.9 (stretch)?
Thanks!
[Tinker Board R2.0][Docker] Docker engine installation
in Software
Posted
hi @tooz,
I solved the docker installation error using installation script below. Thank you!