# Palette / nodes install offline docker permissions?

**URL:** https://discourse.nodered.org/t/palette-nodes-install-offline-docker-permissions/91260
**Category:** General
**Tags:** docker
**Created:** [25 September 2024 14:50 UTC](https://discourse.nodered.org/t/palette-nodes-install-offline-docker-permissions/91260 "2024-09-25T14:50:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mikaelE](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mikaelE](https://discourse.nodered.org/u/mikaelE)
#### Post date: [25 September 2024 14:50 UTC](https://discourse.nodered.org/t/palette-nodes-install-offline-docker-permissions/91260/1 "2024-09-25T14:50:09Z")

</div>

Tried using this in a docker compose file, but I am having issues with installing nodes, if i use the pallete and tgz files it failes after a while, if i use docker exec -it node-red npm install .tgz it fails with permission errors. I have read various different solutions but i cant get it to work.

So for context, i have a Virtual server that a customer has supplied for us, it is not connected to the internet so i have installed docker, docker compose and node-red by using either deb-files or adding local tar-images for stuff like grafana-enterprise, influxdb and node-red. the install works great everything is up and running but i'am having a hardtime with the permissions and installing nodes. our user account on the server has UID:GID 1003:1003 and has sudo privileges. should I alter the docker compose file, or could this be due to dependencies missing and in that case what would be the best way to solve dependencies on an offline machine?

```auto
 node-red:
    image: nodered/node-red:latest
    container_name: node-red
    environment:
      - TZ=Europe/Stockholm
    ports:
      - "1880:1880"
    networks:
      - node-red-net
    volumes:
      - node-red:/data

networks:
  node-red-net:

volumes:
  node-red:

```

---

<div class="post-metadata">

### Author: ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)
#### Post date: [26 September 2024 21:30 UTC](https://discourse.nodered.org/t/palette-nodes-install-offline-docker-permissions/91260/2 "2024-09-26T21:30:41Z")

</div>

I did not get exactly what trouble there is with docker. I ported my raspi 4 stuff to a PC running windows with docker and using the official Node Red docker images (WSL2). There is a bunch of stuff I use and everything work fine. I could offer to post my docker compose and docker files if it could help.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [25 December 2024 21:30 UTC](https://discourse.nodered.org/t/palette-nodes-install-offline-docker-permissions/91260/3 "2024-12-25T21:30:47Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
