# 2\*IP-2PC-2HDD-2nodes into 1\*IP-1PC-2HDD-1node?

**URL:** <https://forum.storj.io/t/2-ip-2pc-2hdd-2nodes-into-1-ip-1pc-2hdd-1node/20784>\
**Category:** Node Operators\
**Tags:** docker, router, port-forwarding\
**Created:** [December 24, 2022, 12:06pm UTC](https://forum.storj.io/t/2-ip-2pc-2hdd-2nodes-into-1-ip-1pc-2hdd-1node/20784 "2022-12-24T12:06:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [December 27, 2022, 4:08am UTC](https://forum.storj.io/t/2-ip-2pc-2hdd-2nodes-into-1-ip-1pc-2hdd-1node/20784/6 "2022-12-27T04:08:49Z")

</div>

Please NEVER use SETUP=true for worked node, you may destroy it! The setup step should be executed only once for entire node’s life.  
So you must skip the setup step and use the next run step.

> [@apuokas](#):
>
> but i add not “–name storagenode storjlabs/storagenode:latest” but “–name storagenode-2 storjlabs/storagenode:latest” option? Is it right?

Yes, that’s right but use for [normal `docker run` without `SETUP=true`](https://docs.storj.io/node/setup/cli/storage-node#1wH-F).

The one instance of watchtower is able to update multiple containers, just list them, i.e.

```auto
docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode storagenode-2 watchtower --stop-timeout 300s

```

> [@apuokas](#):
>
> What user is meaned in that command option “–user $(id -u):$(id -g)”?

your user and group, i.e. it will likely expand to `--user apuokas:apuokas`, this is also mean that you need to [configure your docker to be run without `sudo`](https://docs.docker.com/engine/install/linux-postinstall/) and data location should be recursively owned by your user (not `root`). Or you may remove this option and run it with `sudo` (in such case data location should be owned by `root`).

To run multiple containers many uses `docker-compose`, for example:

> [@Docker compose based node not starting](https://forum.storj.io/t/docker-compose-based-node-not-starting/8339/16):
>
> For the ones looking for a docker-compose.yml file: version: "3.3" services: \<containername\>: image: storjlabs/storagenode:latest container\_name: \<containername\> volumes: - type: bind source: \<"/Path/to/identity/files"\> target: /app/identity - type: bind source: \<"/Path/to/Data/storage/location"\> target: /app/config ports: - 28967:28967 - 14002:14002 restart: unless-stopped stop\_grace\_period: 300s environment…

---

_[View the full topic](https://forum.storj.io/t/2-ip-2pc-2hdd-2nodes-into-1-ip-1pc-2hdd-1node/20784)._
