# I’m unable to install docker

**URL:** <https://forum.storj.io/t/i-m-unable-to-install-docker/10319>\
**Category:** troubleshooting\
**Tags:** docker, raspberry\
**Created:** [November 20, 2020, 1:54pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319 "2020-11-20T13:54:31Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Pac](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pac/32/6053_2.png) [@Pac](https://forum.storj.io/u/Pac)\
**Post date:** [November 21, 2020, 9:12pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/21 "2020-11-21T21:12:55Z")

</div>

@Jackalope:

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

```auto
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:

> **[PAC / STORJ manager for RPi4B](https://gitlab.com/pacproduct/storj-manager-rpi4b)**
>
> GitLab.com

  
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! ^^’

---

<div class="post-metadata">

**Author:** ![Jackalope](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jackalope/32/1126_2.png) [@Jackalope](https://forum.storj.io/u/Jackalope)\
**Post date:** [November 21, 2020, 9:32pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/22 "2020-11-21T21:32:51Z")

</div>

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

curl -fsSL [https://get.docker.com](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](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](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:~ $

---

<div class="post-metadata">

**Author:** ![SGC](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/sgc/32/1132_2.png) [@SGC](https://forum.storj.io/u/SGC)\
**Post date:** [November 21, 2020, 9:39pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/23 "2020-11-21T21:39:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Doom4535](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/doom4535/32/1132_2.png) [@Doom4535](https://forum.storj.io/u/Doom4535)\
**Post date:** [November 21, 2020, 10:49pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/24 "2020-11-21T22:49:25Z")

</div>

I am confused by all of the following:

> [@Jackalope](#):
>
> - 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”](https://download.docker.com/linux/raspbian/gpg%E2%80%9D) | 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] [Index of linux/raspbian/](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:~ $

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?

---

<div class="post-metadata">

**Author:** ![Jackalope](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jackalope/32/1126_2.png) [@Jackalope](https://forum.storj.io/u/Jackalope)\
**Post date:** [November 21, 2020, 11:37pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/25 "2020-11-21T23:37:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SGC](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/sgc/32/1132_2.png) [@SGC](https://forum.storj.io/u/SGC)\
**Post date:** [November 22, 2020, 6:56am UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/26 "2020-11-22T06:56:33Z")

</div>

#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.

---

<div class="post-metadata">

**Author:** ![educruiser](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/educruiser/32/1129_2.png) [@educruiser](https://forum.storj.io/u/educruiser)\
**Post date:** [November 28, 2020, 6:12pm UTC](https://forum.storj.io/t/i-m-unable-to-install-docker/10319/27 "2020-11-28T18:12:48Z")

</div>

why linux, in this case docker, is so complicated!!!

[Previous page](https://forum.storj.io/t/i-m-unable-to-install-docker/10319.md?page=1)
