Open adamkasten opened 1 year ago
same issue here.
Same here
same
zomboid-dedicated-server.Dockerfile In ARG BASE_IMAGE="docker.io/renegademaster/steamcmd-minimal:1.1.2" you need to replace the content. ARG BASE_IMAGE="docker.io/renegademaster/steamcmd-minimal:2.0.0-root" If you replace it with the contents and create a Docker container, you can use it normally.
Since it's already defined as a build arg, you can simply pass the value at buildtime:
$ docker build -f ./docker/zomboid-dedicated-server.Dockerfile --build-arg BASE_IMAGE=docker.io/renegademaster/steamcmd-minimal:2.0.0-root .
It's better not to have to edit the file directly since it's just technical debt you have to remember to fix every time you pull latest.
I am working on improving the situation here in general still (on another repo). I have no idea when I'll be done though.
Luckily the other helpful users here can help people with problems in the meantime.
Thank you guys for stepping in 👏
@copejon
when trying to build im getting this error:
same issue here..
if i change to docker.io/renegademaster/steamcmd-minimal:2.0.0, then i get "Permission denied":
Just add this to the docker file and build it
# Copy the source files
COPY src /home/steam/
+RUN sed -i -re 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
# Install Python, and take ownership of rcon binary
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-minimal iputils-ping tzdata \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
apt-get update is failing because the base image's distro version lost its lts
Hi all, very new to programming, docker and all. Im experiencing a similar issue, not entirely sure if im even doing things correctly,
This is my code, largely copied from OP,
version: "3.8"
services:
zomboid-dedicated-server:
build:
context: .
dockerfile: docker/zomboid-dedicated-server.Dockerfile --build-arg BASE_IMAGE=docker.io/renegademaster/steamcmd-minimal:2.0.0-root
image: "docker.io/renegademaster/zomboid-dedicated-server:latest"
container_name: zomboid-dedicated-server
restart: "no"
user: "1026:100"
environment:
- "ADMIN_PASSWORD=mehs"
- "ADMIN_USERNAME=mehs"
- "AUTOSAVE_INTERVAL=15"
- "BIND_IP=0.0.0.0"
- "DEFAULT_PORT=16261"
- "GAME_VERSION=public"
- "GC_CONFIG=ZGC"
- "MAP_NAMES=Muldraugh, KY"
- "MAX_PLAYERS=16"
- "MAX_RAM=4096m"
- "MOD_NAMES="
- "MOD_WORKSHOP_IDS="
- "PAUSE_ON_EMPTY=true"
- "PUBLIC_SERVER=true"
- "RCON_PASSWORD=mehs"
- "RCON_PORT=27015"
- "SERVER_NAME=mehs"
- "SERVER_PASSWORD=mehs"
- "STEAM_VAC=true"
- "UDP_PORT=16262"
- "USE_STEAM=true"
- "TZ=UTC"
ports:
- target: 16261
published: 16261
protocol: udp
- target: 16262
published: 16262
protocol: udp
- target: 27015
published: 27015
protocol: tcp
volumes:
- /volume1/docker/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /volume1/docker/zomboid/ZomboidConfig:/home/steam/Zomboid/
And im getting this:
sed: couldn't open temporary file /home/steam/sed9ZEhim: Permission denied
/home/steam/run_server.sh: line 136: /usr/bin/steamcmd.sh: Permission denied
Starting server for 60 seconds
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory
/home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory
How can i solve this senpais
Hello, I am relatively new to docker and have been banging my head trying to get this image to work on my Debian 11.4 proxmox vm. Anytime I compose up I keep getting the following output:
I have made sure that I never used root when creating any of the directories, when installing steamcmd like steam recommends and I have made sure to create the config and the dedicated server folders prior to building the image. everything has been installed using my "snurf" ID.
my docker-compose file looks like the following:
any help would be greatly appreciated!