vinanrra / Docker-Satisfactory

Satisfactory server using LinuxGSM script in Docker
43 stars 7 forks source link

Help for docker noob #1

Closed JannesStroehlein closed 3 years ago

JannesStroehlein commented 3 years ago

Hi,

I was trying to install the docker image using your command in the Readme file. Sadly this yielded me this output: `root@debianserver:~# docker run -d \

--name sfserver \ --restart unless-stopped \ -v "./ServerFiles:/home/sfserver/serverfiles/" \ -v "./LogFolder:/home/sfserver/log/" \ -v "./BackupFolder:/home/sfserver/lgsm/backup/" \ -v "./LGSM-Config:/home/sfserver/lgsm/config-lgsm/sfserver/" \ -p 15777:15777/udp \ -p 15000:15000/udp \ -p 7777:7777/udp \ -e START_MODE=1 \ -e TESTALERT=NO \ -e BACKUP=YES \ -e MONITOR=YES \ -e PUID=1000 \ -e PGID=1000 \ -e TimeZone=Europe/Madrid \ vinanrra/satisfactory-server Unable to find image 'vinanrra/satisfactory-server:latest' locally latest: Pulling from vinanrra/satisfactory-server e4ca327ec0e7: Pull complete 841ee5d965ce: Pull complete 924a010e0ce5: Pull complete aa88e2644aca: Pull complete d976c427c65b: Pull complete c83130e0b967: Pull complete 79e0b6146bd7: Pull complete cc678ca498b2: Pull complete fbdc3eb2e0e5: Pull complete 09022657869a: Pull complete e829758ac2c6: Pull complete 94dff33b4966: Pull complete eb76984b14a9: Pull complete b96baec4eb88: Pull complete ab0117b16cfa: Pull complete ec94962cd402: Pull complete c52c07aec5ba: Pull complete Digest: sha256:ba2aeedc56d6dc5c8f803730e350ead2f89df9c4bf2cc05f3feaba908d39709a Status: Downloaded newer image for vinanrra/satisfactory-server:latest docker: Error response from daemon: create ./LGSM-Config: "./LGSM-Config" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.`

So my question is how I can set it up correctly. Do I need to install decencies first? Do I have to create a new user on my server?

With kind regards and thanks for your work so far

Jannes

vinanrra commented 3 years ago

Hi, that error it's normal it's because u need to use absolute path instead of ./LGSM-Config (applying to every volumen), that's it's an example path, you will need to replace all path with your custom paths.

For example mines are:

-v "/home/vinanrraa/Docker/Satisfactory/ServerFiles:/home/sfserver/serverfiles/" -v "/home/vinanrraa/Docker/Satisfactory/ServerFiles/LogFolder:/home/sfserver/log/" -v "/home/vinanrraa/Docker/Satisfactory/ServerFiles/BackupFolder:/home/sfserver/lgsm/backup/" -v "/home/vinanrraa/Docker/Satisfactory/ServerFiles/LGSM-Config:/home/sfserver/lgsm/config-lgsm/sfserver/"

JannesStroehlein commented 3 years ago

Thanks that helped!