Community discussions

MikroTik App
 
fisha462
just joined
Topic Author
Posts: 5
Joined: Wed Aug 10, 2022 7:33 am

Container Trying to Run as Root?

Fri Sep 30, 2022 9:26 pm

I have implemented this image one arm arch now a couple of times, (one is a PLC(armv8) the other is a PI-Zero(armv8)). In both cases the container works perfectly. In the container.conf file, there is a setting that won't allow you to run the container as root which is very smart. In my dockerfile, I have added a user with no password, and told docker to use that user but the container still won't run on my RB5009. Here is the syntax for the dockerfile:

FROM alpine
LABEL Name=rport Version=0.8.2

WORKDIR /app
COPY . /app

RUN adduser --disabled-password --gecos "" appuser && chown -R appuser /app
USER appuser

Is there something I need to do on the RouterOS side?

Who is online

Users browsing this forum: baragoon, Bing [Bot], Google [Bot], Guntis, sch and 87 guests