I’m unable to install docker

@Jackalope:

For Raspbian 32bit, I’m using this to install docker:

curl -fsSL https://get.docker.com -o get-docker.sh

sudo sh get-docker.sh

You can have a look at the cheat-sheet I wrote for helping me deploy nodes on my RPi4B if you want:


You may find some useful tips on it.
But: Don’t use my script storj.sh unless you know what you’re doing: I’m not guaranteeing it works great! ^^’
1 Like

Got this error code, but thanks anyway I’m going to try a fresh install of another version.

curl -fsSL https://get.docker.com -o get-docker.sh
pi@raspberrypi:~ $ sudo sh get-docker.sh

Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c

  • sh -c apt-get update -qq >/dev/null
  • sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  • sh -c curl -fsSL “https://download.docker.com/linux/raspbian/gpg” | apt-key add -qq - >/dev/null
    Warning: apt-key output should not be parsed (stdout is not a terminal)
  • sh -c echo “deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable” > /etc/apt/sources.list.d/docker.list
  • sh -c apt-get update -qq >/dev/null
  • [ -n ]
  • sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    pi@raspberrypi:~ $

i would suggest you try to type in the command.

sometimes if you copy paste commands, you need to be sure the type is preserve…

kinda seems like you may not have executed the command right… it might look right but if the font or whatever symbol / char thing is offset or wrong then when it tries to run the command it will misunderstand the command.

i’ve tried this a few times when i jump around between all of my different vm’s and copy paste stuff a bit to much, all of a sudden one grabbed it from a place where it looks right, but isn’t when executed.

1 Like

I am confused by all of the following:

Did you enter each of these rows or is this the output from the prior script curl -fsSL https://get.docker.com -o get-docker.sh when you try to run it?

Yeah it was a software issue I had corrupted files. I installed a new OS and all is working fine now.

3 Likes

#whyiuseredundantchecksummedstorage

people don’t realize how often their data is damaged or corrupted when manipulating it…
storing it on a hdd and not changing it doesn’t seem to bad… but data that is live, being read and rewritten, can “often” get corruptions… for various reasons

but yeah certainly not for everyone and it’s really a lot of trouble to convert all ones data storage to checksummed redundant storage.

1 Like