First time building an image, not sure why no logs or ENTRYPOINT execution

Hello, I want to build and run a container specifically for rnsd, It seems like everything builds just fine but it just doesn’t bother runingn the command rnsd like it’s supposed to (I can run docker exec reticulum rnsd --verbose and it works perfectly). I’d like to troubleshoot why, but for some reason the only logs are ‘Welcome to Node.js v22.12.0. Type “.help” for more information.’ How do I get the logs, how do I get rnsd to run, and is there anything else I’ve done that isn’t best practice? Thanks!

Docker-compose:

  reticulum:
    build:
        dockerfile_inline: |
          FROM node:lts-alpine
          ENV PYTHONUNBUFFERED=1
          #install pip then rns if pip successfully installed
          RUN apk add --update --no-cache python3 py3-pip && pip install --break-system-packages rns
          ENTRYPOINT ["rnsd", "--verbose"]
    init: true
    tty: true #to keep it running
    container_name: "reticulum"
    configs:
      - source: config
        target: /root/.reticulum/config
    restart: unless-stopped
configs:
  config:
    content: |
        # This is the default Reticulum config file.

Works for me:
reticulum | [2024-12-12 08:56:48] [Notice] Started rnsd version 0.8.8

Have you rebuilt the image before starting the container?
docker compose up --build

1 Like

I didn’t know there was a --build facepalm and thought up would do it. Thanks!

Up simply starts the service, if the image it requires already exists, it won’t try to build it again

1 Like

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