Public | Automated Build

Last pushed: 2 years ago
Short Description
Left 4 Dead 2 Server
Full Description

Left 4 Dead 2 Server Dockerfile

This repository contains Dockerfile of Left 4 Dead 2 Server for Docker published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull johnjelinek/l4dserver

    (alternatively, you can build an image from Dockerfile: docker build -t="johnjelinek/l4dserver" github.com/johnjelinek/l4dserver-docker)

Usage

docker run -dt --name l4d2 -v /var/docker/l4dserver:/home/l4dserver -p 27015:27015 \
-p 27015:27015/udp --entrypoint /home/l4d2server/serverfiles/srcds_run johnjelinek/l4d2server \
-game left4dead2 -strictportbind -ip 0.0.0.0 -port 27015 +clientport 27005 \
+map c5m1_waterfront +servercfgfile l4d2-server.cfg -maxplayers 8

Preparation (Downloading the files onto your volume)

  1. Copy /l4dserver to ~/l4dserver

  2. ./l4dserver install

  3. Answer some questions

  4. You can test everything went well with ./l4dserver start followed by ./l4dserver details.

  5. If everything looks good, run with the command listed under Usage.

From Steam Menu, View > Servers > Add yourServerIP server as a favorite and double click to join.

Docker Pull Command
Owner
johnjelinek
Source Repository