Open fama opened 1 year ago
I do run it in a docker host under my UID=1000 and GID=1000 (ubuntu cloud image on a Proxmox VM). after installing docker and performing the Linux post-install steps.
Though since the image is not having any variables to change the user on runtime, I believe it runs as root inside the container.
Can you post your compose file?
Here's mine:
services:
RWSOL-Server:
container_name: RWSOL-Server
restart: unless-stopped
entrypoint:
- /entrypoint.sh
environment:
- TZ=America/Puerto_Rico
- PASSPHRASE=
- RWSOLS_COMPUTER_NAME=$RWSOLS_COMPUTER_NAME
- RWSOLS_COMPUTER_MAC=$RWSOLS_COMPUTER_MAC
- RWSOLS_COMPUTER_IP=$RWSOLS_COMPUTER_IP
- RWSOLS_MAX_PINGS=10
- RWSOLS_SLEEP_TIME=5
- RWSOLS_SLEEP_CMD=suspend
- RWSOLS_SLEEP_PORT=7760
- TCP_PORT_9999=9999
- APACHE2_PORT=9999
image: ex0nuss/remote-wake-sleep-on-lan-docker
network_mode: host
When I tried to start the docker, using docker-compose.yml, I am getting the following error
Running docker version 23.0.7 inside LXC container.
It seems that the following line Dockerfile is causing the error:
I suspect, that the problem in particular is with
chown root: /var/www/html &&\
.Does the container need to run with root userid?