# Node-red-contrib-vcgencmd with docker compose

**URL:** <https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089>\
**Category:** General\
**Tags:** docker\
**Created:** [16 October 2023 19:20 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089 "2023-10-16T19:20:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [16 October 2023 19:20 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/1 "2023-10-16T19:20:38Z")

</div>

I have read the info at [node-red-contrib-vcgencmd (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-vcgencmd), but I can't get it to work with Docker compose, whic I use for all Docker needs. I have added these to the yml file:

```auto
    environment:
      - LIBRARY_PATH=/opt/vc/lib
    devices:
      - /dev/vchiq:/dev/vchiq
    volumes:
      - /opt/vc:/opt/vc:ro

```

I get "The /opt/vc/bin/vcgencmd command is not supported by this hardware platform" from the node. Do anybody have this running with Docker compose? I have tried with LD\_LIBRARAY\_PATH too.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 October 2023 23:31 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/2 "2023-10-16T23:31:05Z")

</div>

Purely a guess but I’d say that the low level commands required are not supported by alpine Linux that the containers are built on. You may need to use the Debian based containers instead

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 October 2023 06:43 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/3 "2023-10-17T06:43:23Z")

</div>

@dceejay Thank you very much for answering! I didn't even know that there were different builds... That shows how much I know. I'm now off to the big Internet to find a Debian based container! 👍

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 October 2023 07:14 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/4 "2023-10-17T07:14:38Z")

</div>

See [Docker](https://hub.docker.com/r/nodered/node-red/tags)

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 October 2023 07:51 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/5 "2023-10-17T07:51:23Z")

</div>

Yep, thanks, I found it. It broke some other stuff, but doing a reinstall of all palette nodes fixed that. Unfortunately the error message is still the same. ☹

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 October 2023 08:52 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/6 "2023-10-17T08:52:45Z")

</div>

Found a better solution - Glances:

> **[Glances monitoring for Raspberry Pi (RPi-Monitor alternative) | Feriman.com](https://feriman.com/glances-monitoring-for-raspberry-pi-rpi-monitor-alternative/)**
>
> For years I've used the RPi-Monitor app to monitor my Raspberry Pi, I'm trying something new this year. I found the glances project...

It gives me a lot more info than the vcgencmd too! 😁

Edit: And I'm running Glances in a Docker container too, with Docker Compose. One step closer to having a full on setup that I can just copy config files and the directory with subdirectories for each container I need onto a new Pi and have it up and running within minutes. This process takes a bit of time, but with my multitude of Pi's running Node-RED and other software in the house, cabin, boat and car, it will save me loads later.

---

<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:** [31 October 2023 08:53 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-with-docker-compose/82089/7 "2023-10-31T08:53:05Z")

</div>

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