Hello can someone help me ? i have setup a truecammand with the following command "sudo docker run --detach -v “/opt/truecommand-data” -p 8888:80 -p 8889:443 Package truecommand · GitHub " and after i reboot the server i loose everything and the container does not start … What am i doing wrong ? Thanx in advance
You’re not binding /opt/truecommand-data with /data.
can you help me with the command i am not familiar with docker . how can i do it ?
Our docs suggest docker run –detach -v “/hostdir:/data” -p port:80 -p ssl:443 ghcr.io/ixsystems/truecommand:v3.0.2
, which with your values would be:
docker run –detach -v “/opt/truecommand-data:/data” -p 8888:80 -p 8889:443 ghcr.io/ixsystems/truecommand:v3.0.2
value1:value2 defines a mount between the host and container.
1 Like
the problem with the restart has been resolved with “–restart always” in the run docker command . So sudo docker run --restart always --detach -v /dockerdirdata -p 8888:80 -p 8889:443 Package truecommand · GitHub
Thanx
thanx