Hi there this my first publication and I’ve spend 2 fully days for understanding what i am doing wrong… after reading thousand of posts i’ll try the docker community which is, in my way the first place for answers my question.
SO let’s start by the beginning. I’m trying to install a docker for running a space engineers deicated server on linux . My os debian bookworm 12 ( for the main) I use for the docker a debian Bullseye with a wine 8
here is the folder placed on my home directory:
/home/steam/Documents/llda/appdata/space-engineers/instances/SE_LLDA
/home/steam/Documents/llda/appdata/space-engineers/plugins
/home/steam/Documents/llda/appdata/space-engineers/SpaceEngineersDedicated
/home/steam/Documents/llda/appdata/space-engineers/ steamcmd
the llda folder contains the docker files:
docker-compose.yml
Dockerfile
Entrypoint.sh
healthcheck.sh
winetricks.sh
The SE_LLDA folder contain the game ( not the server installation but the world including the saves of the world and the parameter for the server)
here is the docker-compose.yml
version: '3.8'
services:
se-server:
image: devidian/spaceengineers:latest
container_name: se-ds-dockerr
restart: unless-stopped
volumes:
# left side: your docker-host machine
# right side: the paths in the image (!!do not change!!)
- /appdata/space-engineers/plugins/:/appdata/space-engineers/plugins/:shared
- /appdata/space-engineers/instances/:/appdata/space-engineers/instances/:shared
- /appdata/space-engineers/SpaceEngineersDedicated/:/appdata/space-engineers/SpaceEngineersDedicated/:shared
- ./appdata/space-engineers/steamcmd/:/root/.steam/:shared
ports:
- target: 27016
published: 27016
protocol: udp
mode: host
- target: 8080
published: 18080
protocol: tcp
mode: host
environment:
- WINEDEBUG=-all
- INSTANCE_NAME=SE_LLDA
- PUBLIC_IP=XXX.YYY.ZZZ.AAA #( configured for my ip )
# public ip required for healthcheck
My ip are well configured and no trouble when executing
docker-compose up -d
When i run ‘docker-compose up’ ( or ‘docker compose up’) i have the server who tell me that some files are missing
I try to modify the docker-compose by adding a dot before the lines
/appdata/space-engineers/plugins/:/appdata/space-engineers/plugins/:shared
become
./appdata/space-engineers/plugins/:/appdata/space-engineers/plugins/:shared
i also add the shared option because i’ve seen on my configuration that my mount was on rprivate. I was thinking this was a problem of replication
Despite this work and after many tries the dockers folder are still empty but for some reasons docker don’t say to me that they are missing ( except for the plugins folder because it’s an empty one i d’ont use data from this folders)
I d’ont know what to do, what i am missing . I’m a beginner on docker. I’ve read many things but i don’t know how to start
here is the docker image inspect:
{
"Id": "8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969",
"Created": "2024-01-14T02:21:07.933759657Z",
"Path": "/bin/sh",
"Args": [
"-c",
"/root/entrypoint.sh"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 1030573,
"ExitCode": 0,
"Error": "",
"StartedAt": "2024-01-14T02:22:07.087638107Z",
"FinishedAt": "2024-01-14T02:22:05.555317801Z",
"Health": {
"Status": "starting",
"FailingStreak": 0,
"Log": []
}
},
"Image": "sha256:515d669ced333a856769ad08dea6f68147fa27b99f1ac59bbb4b3cdf720b708a",
"ResolvConfPath": "/var/lib/docker/containers/8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969/hostname",
"HostsPath": "/var/lib/docker/containers/8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969/hosts",
"LogPath": "/var/lib/docker/containers/8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969/8335a78713d9e7d1f665e689ed383a19cc83e023e5a78b2fad3048bade868969-json.log",
"Name": "/se-ds-dockerr",
"RestartCount": 4,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/home/steam/Documents/llda/appdata/space-engineers/SpaceEngineersDedicated:/appdata/space-engineers/SpaceEngineersDedicated:rw,shared",
"/home/steam/Documents/llda/appdata/space-engineers/steamcmd:/root/.steam:rw,shared",
"/home/steam/Documents/llda/appdata/space-engineers/plugins:/appdata/space-engineers/plugins:rw,shared",
"/home/steam/Documents/llda/appdata/space-engineers/instances:/appdata/space-engineers/instances:rw,shared"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "llda_default",
"PortBindings": {
"27016/udp": [
{
"HostIp": "",
"HostPort": "27016"
}
],
"8080/tcp": [
{
"HostIp": "",
"HostPort": "18080"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5cfdbff3325ac6aa2f9bc5459c0583f672df10ea9a1fcd5cd9800a63a7c0b234-init/diff:/var/lib/docker/overlay2/d0b14062cd7760f57eb46f484f2ba6c150969d6cd6224e212a97aff5d6cdac31/diff:/var/lib/docker/overlay2/0d4900d7ca89b83b74ace64bce245c29b32137b167ab669f51c72ef84c95b4cc/diff:/var/lib/docker/overlay2/997a8abfcac0d27d2edae6a3423eac4b7678f82b0b535108ca4ea07b60de417b/diff:/var/lib/docker/overlay2/33c5ebe3e7f0033ed3f05497f4e3cf01e6cb015c81e8064faecce2559103a422/diff:/var/lib/docker/overlay2/ab95bc5d9dc0943da11c8c3a7f93c08df269ac4c661d828b8f12fce454556d55/diff:/var/lib/docker/overlay2/281e13ed78eef3e00c2c29441762d861d1526cec882ed7c3dc8b0400207816cf/diff:/var/lib/docker/overlay2/6443d23961dc090f5af64391b0f80f055fa6bee095ff6a9defaefe8503b8bfb0/diff:/var/lib/docker/overlay2/871a0f98ca715b93915b8edb4005490356d409e97d016b98d7c514279b93fba9/diff:/var/lib/docker/overlay2/2816be8ab3d812d451d43d2f7c9ece3d4bb9fcbfaec5573fa8497d4b75fc4ad4/diff",
"MergedDir": "/var/lib/docker/overlay2/5cfdbff3325ac6aa2f9bc5459c0583f672df10ea9a1fcd5cd9800a63a7c0b234/merged",
"UpperDir": "/var/lib/docker/overlay2/5cfdbff3325ac6aa2f9bc5459c0583f672df10ea9a1fcd5cd9800a63a7c0b234/diff",
"WorkDir": "/var/lib/docker/overlay2/5cfdbff3325ac6aa2f9bc5459c0583f672df10ea9a1fcd5cd9800a63a7c0b234/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/steam/Documents/llda/appdata/space-engineers/SpaceEngineersDedicated",
"Destination": "/appdata/space-engineers/SpaceEngineersDedicated",
"Mode": "rw,shared",
"RW": true,
"Propagation": "shared"
},
{
"Type": "bind",
"Source": "/home/steam/Documents/llda/appdata/space-engineers/steamcmd",
"Destination": "/root/.steam",
"Mode": "rw,shared",
"RW": true,
"Propagation": "shared"
},
{
"Type": "bind",
"Source": "/home/steam/Documents/llda/appdata/space-engineers/plugins",
"Destination": "/appdata/space-engineers/plugins",
"Mode": "rw,shared",
"RW": true,
"Propagation": "shared"
},
{
"Type": "bind",
"Source": "/home/steam/Documents/llda/appdata/space-engineers/instances",
"Destination": "/appdata/space-engineers/instances",
"Mode": "rw,shared",
"RW": true,
"Propagation": "shared"
}
],
"Config": {
"Hostname": "8335a78713d9",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"27016/udp": {},
"8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"WINEDEBUG=-all",
"INSTANCE_NAME=SE_LLDA",
"PUBLIC_IP=88.99.215.27",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"WINEARCH=win64",
"WINEPREFIX=/root/server",
"APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD",
"/root/healthcheck.sh"
],
"Interval": 60000000000,
"Timeout": 60000000000,
"StartPeriod": 600000000000,
"Retries": 3
},
"Image": "devidian/spaceengineers:latest",
"Volumes": null,
"WorkingDir": "/root",
"Entrypoint": [
"/bin/sh",
"-c",
"/root/entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "755aa912a4566b656259484776715737115bf8a3a92207f5063dfcbb746ccacd",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:515d669ced333a856769ad08dea6f68147fa27b99f1ac59bbb4b3cdf720b708a",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "llda",
"com.docker.compose.project.config_files": "/home/steam/Documents/llda/docker-compose.yml",
"com.docker.compose.project.working_dir": "/home/steam/Documents/llda",
"com.docker.compose.replace": "cf480cd81db3cd4c3af8204431459fb7a698417c401bd5cbe7700dd3f6d56a05",
"com.docker.compose.service": "se-server",
"com.docker.compose.version": "2.23.3"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "5c7d498e0c96528b4488e9877461659ae893b14c4a631fe0ce25fb9a87d9d158",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"27016/udp": [
{
"HostIp": "0.0.0.0",
"HostPort": "27016"
},
{
"HostIp": "::",
"HostPort": "27016"
}
],
"8080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "18080"
},
{
"HostIp": "::",
"HostPort": "18080"
}
]
},
"SandboxKey": "/var/run/docker/netns/5c7d498e0c96",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"llda_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"se-ds-dockerr",
"se-server",
"8335a78713d9"
],
"NetworkID": "cfb521ed73a7f0cf8ccd621492d6af665557f9478027b014cb96dceec05bee6f",
"EndpointID": "d52b6c14788838299867f9b098a99694df60ed1a4a0ac482f3309e7b8a5cfc4f",
"Gateway": "172.19.0.1",
"IPAddress": "172.19.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:13:00:02",
"DriverOpts": null
}
}
}
}
]
Ty for your help and, btw Happy new year!