<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Raspbery Pi docker &#x2F; docker-compose]]></title><description><![CDATA[<p dir="auto">Hey there.  I'm trying to get triggercmd setup and running on a raspberry pi in headless mode inside a docker container.  There aren't any arm64 builds on dockerhub, so I gave it a whirl myself.  In general I need everything running in docker these days, so any help would be appreciated.</p>
<p dir="auto">The environment variables don't appear to be respected, and it seems like there's a daemon install missing?  I tried also using the raspberry pi deb directly but that was just getting weird.</p>
<pre><code>TOKEN environment variable not found.  We'll prompt for a token.
COMPUTERID environment variable not found.  We'll create a new computer in the account.
COMMANDS environment variable not found.  We'll use the default commands.
Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot
Daemon install: false
No token exists.  Login to request one.
</code></pre>
<p dir="auto">Docker files below</p>
<pre><code>ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update \
    &amp;&amp; apt-get -y upgrade \
    &amp;&amp; apt install -y nodejs npm wget

RUN wget https://raw.githubusercontent.com/rvmey/TRIGGERcmd-Agent/master/ubuntupackage.json -O package.json
RUN npm install
RUN wget https://raw.githubusercontent.com/rvmey/TRIGGERcmd-Agent/master/src/agent.js
RUN wget https://raw.githubusercontent.com/rvmey/TRIGGERcmd-Agent/master/src/gd_bundle-g2-g1.crt
RUN wget https://raw.githubusercontent.com/rvmey/TRIGGERcmd-Agent/master/src/sendresult.sh
RUN wget https://raw.githubusercontent.com/rvmey/TRIGGERcmd-Agent/master/src/linuxcommands.json

COPY start.sh start.sh

CMD ./start.sh
</code></pre>
<p dir="auto">docker-compose.yml</p>
<pre><code>version: "3"
services:
  triggercmd:
    build: .
    image: triggercmd
    environment:
      - TOKEN=&lt;redacted&gt;
      - COMPUTERID=mycomputer
      - TZ=America/New_York
    volumes:
      - data:/root/.TRIGGERcmdData
    restart: always       
volumes:
  data: {}
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/topic/1748/raspbery-pi-docker-docker-compose</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 00:44:00 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/1748.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Oct 2021 19:45:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Raspbery Pi docker &#x2F; docker-compose on Wed, 27 Oct 2021 01:09:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/11692">@Andy-Kutruff</a>, try this one.  I just pushed it:</p>
<pre><code>docker pull rvmey/triggercmdagent:arm
</code></pre>
<p dir="auto">You'll need to create an actual computer record in your account and get the ID for it from your browser's address bar after you click view triggers.</p>
]]></description><link>https://www.triggercmd.com/forum/post/4758</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/4758</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Wed, 27 Oct 2021 01:09:45 GMT</pubDate></item></channel></rss>