# Run storagenode in Linux without Docker

**URL:** <https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300>\
**Category:** Node Operators\
**Created:** [May 21, 2024, 4:10pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300 "2024-05-21T16:10:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![FREDY](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/fredy/32/7827_2.png) [@FREDY](https://forum.storj.io/u/FREDY)\
**Post date:** [May 21, 2024, 4:10pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/1 "2024-05-21T16:10:55Z")

</div>

I see in all documentation that developers are too used with docker that don’t even put a documentation available for those who don’t want to use docker to run their node on Linux.

I have been running mine by downloading the binary files from Github and doing all the process manually, but it still needs improvement. For example it doesn’t create as a service and need to be run and updated manually.

Can’t we just have a proper documentation alongside with the docker one for those who do not wish to run on docker and perhaps a repository for the most popular distributions that one can simply do an ‘apt install storagenode’ and have everything set, including the storagenode-updater running in the cron ?

---

<div class="post-metadata">

**Author:** ![ACarneiro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/acarneiro/32/1129_2.png) [@ACarneiro](https://forum.storj.io/u/ACarneiro)\
**Post date:** [May 21, 2024, 4:16pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/2 "2024-05-21T16:16:43Z")

</div>

You mean something like [this?](https://forum.storj.io/t/how-to-set-up-a-non-docker-node-using-systemd-services-with-the-official-native-storagenode-binary/10107) 🙂

EDIT: I was doing that as well, but ended up going to the docker installations. The deployment is far easier and running more than one node per machine is far, **far** easier too!

---

<div class="post-metadata">

**Author:** ![mattventura](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mattventura/32/7831_2.png) [@mattventura](https://forum.storj.io/u/mattventura)\
**Post date:** [May 21, 2024, 4:20pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/3 "2024-05-21T16:20:00Z")

</div>

I’m kind of curious - what are the reasons people _don’t_ want to run it in Docker? I used to run some nodes outside of docker, but I found them to be much more painful to manage. Also easier for devs.

---

<div class="post-metadata">

**Author:** ![ACarneiro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/acarneiro/32/1129_2.png) [@ACarneiro](https://forum.storj.io/u/ACarneiro)\
**Post date:** [May 21, 2024, 4:21pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/4 "2024-05-21T16:21:11Z")

</div>

So when I started I was worried about performance penalties. But as my “fleet” of nodes grew and I started adding more nodes to the same machines (and after reading a bit more), the docker-method kinda became a no-brainer. Mostly for my sanity 😉

---

<div class="post-metadata">

**Author:** ![FREDY](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/fredy/32/7827_2.png) [@FREDY](https://forum.storj.io/u/FREDY)\
**Post date:** [May 21, 2024, 4:52pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/5 "2024-05-21T16:52:34Z")

</div>

Fine for those who want to run docker, even if it looks easier, but some may just want the traditional ‘apt install storagenode’ which is quiet simple as well.

People might just don’t want to have go through the extra steps to have docker installed, have it set or just may not even know docker but know Linux enough to have it installed in a traditional way that is fine too.

---

<div class="post-metadata">

**Author:** ![ACarneiro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/acarneiro/32/1129_2.png) [@ACarneiro](https://forum.storj.io/u/ACarneiro)\
**Post date:** [May 21, 2024, 5:15pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/6 "2024-05-21T17:15:48Z")

</div>

Package manage installation would be lovely, yes. But still not as easy as docker for multiple modes on the same machine, I think….

---

<div class="post-metadata">

**Author:** ![Toyoo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/toyoo/32/1126_2.png) [@Toyoo](https://forum.storj.io/u/Toyoo)\
**Post date:** [May 21, 2024, 10:48pm UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/7 "2024-05-21T22:48:45Z")

</div>

Docker is an additional potential point of failure. For me this was visible in two forms. One is that Docker’s attempt at doing NAT for some reason created additional overhead, which disappeared when I started using `--network=host`. Second is that I found stopping a container does not always clean up all networking stuff, and every so often I had to reboot the whole machine to start it again, because docker claimed _there is already a network named this way_. After several such cases I found it is possible to explicitly disconnect a network (`docker network disconnect -f bridge «nodename»`).

It’s annoying, and in my case it doesn’t bring much value—I don’t need isolation, as this box at this point is dedicated to Storj; and golang doesn’t really get much value from having a full container OS that needs to be updated separately from the host OS.

---

<div class="post-metadata">

**Author:** ![FREDY](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/fredy/32/7827_2.png) [@FREDY](https://forum.storj.io/u/FREDY)\
**Post date:** [May 22, 2024, 3:54am UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/8 "2024-05-22T03:54:06Z")

</div>

In fact these are good points to mention.  
An extra NAT by default in the docker context is unnecessary, specially if the server is dedicated to run the node and most people will not switch to --network=host

Worth also to mention that by default most docker implementations make it more difficult to communicate on IPv6 where it is already available, so by having it the default method eliminates many cases where IPv6 is available in the LAN but won’t be used due that.

Agree that in a dedicated server for storagenode this isolation is not necessary and another reason some people may prefer to run natively on Linux.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 22, 2024, 4:12am UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/9 "2024-05-22T04:12:08Z")

</div>

Then you can try this one:

> [@\[Tech Preview\] Linux Installer Part 2](https://forum.storj.io/t/tech-preview-linux-installer-part-2/13976):
>
> For the first tech preview, we had to build the installer ourselves. This step is not needed anymore. We have an apt repository for you. With the following 3 commands, you can install a storage node. echo "deb [trusted=yes] http://deb.storj.io buster-staging main" \> /etc/apt/sources.list.d/storjlabs.list sudo apt-get update sudo apt-get install storagenode Disqualification Warning Don’t migrate docker nodes yet. It would require a surprising number of manual modifications. If you miss one you…

There is also a method using Podman to generate an auto updating service:

> [@Guide for installing Storage Node without docker (Linux)?](https://forum.storj.io/t/guide-for-installing-storage-node-without-docker-linux/21045/3):
>
> Oh, by the way, you can install podman and run your containers rootless in the userspace. Podman will even generate the service wrappers for you—one less thing to need to do manyally—and take care of auto-updating when the image changes (I.e. no need for watchtower, root access, installing docker, and what not). This approach maybe easier to adapt since STORJ already provides docker images. I’ve posted summary of how to run docker containers (different ones, but process is the same for storj) r…

See also

> [@Storj node without docker on Debian Bullseye](https://forum.storj.io/t/storj-node-without-docker-on-debian-bullseye/17765/2):
>

---

<div class="post-metadata">

**Author:** ![Dr.Ko](https://storj.bcdn.literatehosting.com/letter_avatar/dr.ko/32/6_449c533f586939b6e5f246632a46421f.png) [@Dr.Ko](https://forum.storj.io/u/Dr.Ko)\
**Post date:** [May 22, 2024, 9:23am UTC](https://forum.storj.io/t/run-storagenode-in-linux-without-docker/26300/10 "2024-05-22T09:23:10Z")

</div>

I support developers who choose new paths, It is a very enviable ability for people like me who are not good at computers. I also want to learn 👍
