# I am trying to launch node red with docker compose and its throwing up some error

**URL:** https://discourse.nodered.org/t/i-am-trying-to-launch-node-red-with-docker-compose-and-its-throwing-up-some-error/56051
**Category:** General
**Tags:** docker
**Created:** [3 January 2022 17:14 UTC](https://discourse.nodered.org/t/i-am-trying-to-launch-node-red-with-docker-compose-and-its-throwing-up-some-error/56051 "2022-01-03T17:14:16Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [4 January 2022 11:20 UTC](https://discourse.nodered.org/t/i-am-trying-to-launch-node-red-with-docker-compose-and-its-throwing-up-some-error/56051/10 "2022-01-04T11:20:01Z")

</div>

You can remap the user with the following iirc:

```auto
version: "3"

services:
  nodered:
    container_name: nodered
    image: nodered/node-red:latest
    user: "uid:gid"
    restart: always
    environment:
      - TZ=Asia/Kolkata
    ports:
      - "1880:1880"
    networks:
      - public
    volumes:
      - "/mnt/external/nr-personal:/data"
volumes:
  nr-personal:
networks:
  public:

```

where `uid` and `gid` are the numerical id's on the host system that has access to the volume.

---

_[View the full topic](https://discourse.nodered.org/t/i-am-trying-to-launch-node-red-with-docker-compose-and-its-throwing-up-some-error/56051)._
