Giter Club home page Giter Club logo

docker-dayzserver's Introduction

DayZ Server in Docker

This repository contains files used to set up a DayZ server in Docker.

Screenshot 1

docker-dayzserver's People

Contributors

icedream avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-dayzserver's Issues

Random UDP port binding

The server currently uses a randomly chosen UDP port that must be forwarded to communicate properly. The purpose of that port besides the known fixed ports is unknown.

Configure server to run headlessly

Currently, this Docker setup relies on a GUI server being available and will require user interaction to confirm dialogs and view the server log output as it is written to a window.

Check server connectivity

  • Server gets listed
  • Players can connect to the server through the server list
  • Players can connect directly

Quick tutorial

Hello,

Your project sound very interesting !
But can you make a quick tutorial how install it properly
Thank you so much

Best Regards

trouble with winehq

hey ho,

I ran into winehq errors. Any suggestions?
My basesystem is Ubuntu 16.04 LTS

WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use `docker stack deploy`.

Building server
Step 1/11 : FROM jlesage/baseimage-gui:debian-9
 ---> 28701b43e9e0
Step 2/11 : ADD https://dl.winehq.org/wine-builds/Release.key /wine-builds.key


 ---> Using cache
 ---> 035a81354f6a
Step 3/11 : RUN         export DEBIAN_FRONTEND=noninteractive   && apt-get -y update    && apt-get -y install gnupg2 apt-transport-https        && apt-key add /wine-builds.key         && rm /wine-builds.key
 ---> Using cache
 ---> ec29aae477ad
Step 4/11 : RUN         export DEBIAN_FRONTEND=noninteractive   && dpkg --add-architecture i386         && echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.list.d/wine.list   && apt-get -y update    && add-pkg winehq-stable procps
 ---> Running in 6ab1c6ee67ec
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.nodesource.com/node_8.x stretch InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Get:6 http://security.debian.org/debian-security stretch/updates/main i386 Packages [464 kB]
Get:7 https://dl.winehq.org/wine-builds/debian stretch InRelease [6260 B]
Get:8 http://deb.debian.org/debian stretch-updates/main i386 Packages [5160 B]
Get:10 http://deb.debian.org/debian stretch/main i386 Packages [7069 kB]
Ign:7 https://dl.winehq.org/wine-builds/debian stretch InRelease
Get:11 https://dl.winehq.org/wine-builds/debian stretch/main i386 Packages [98.4 kB]
Get:12 https://dl.winehq.org/wine-builds/debian stretch/main amd64 Packages [96.4 kB]
Get:13 http://deb.nodesource.com/node_8.x stretch/main i386 Packages [1008 B]
Fetched 7741 kB in 1s (4292 kB/s)
Reading package lists...
W: GPG error: https://dl.winehq.org/wine-builds/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
W: The repository 'https://dl.winehq.org/wine-builds/debian stretch InRelease' is not signed.
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.nodesource.com/node_8.x stretch InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Get:6 https://dl.winehq.org/wine-builds/debian stretch InRelease [6260 B]
Ign:6 https://dl.winehq.org/wine-builds/debian stretch InRelease
Fetched 6260 B in 0s (10.9 kB/s)
Reading package lists...
W: GPG error: https://dl.winehq.org/wine-builds/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
W: The repository 'https://dl.winehq.org/wine-builds/debian stretch InRelease' is not signed.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  xz-utils
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  gcc-6-base:i386 iso-codes libasound2 libasound2:i386 libasound2-data
  libasound2-plugins libasound2-plugins:i386 libasyncns0 libasyncns0:i386
  libavcodec57 libavcodec57:i386 libavresample3 libavresample3:i386
  libavutil55 libavutil55:i386 libblkid1:i386 libbsd0:i386 libc6:i386
  libcairo2:i386 libcap2 libcap2:i386 libcap2-bin libcrystalhd3
  libcrystalhd3:i386 libdb5.3:i386 libdbus-1-3 libdbus-1-3:i386 libdrm2:i386
  libexif12 libexif12:i386 libexpat1:i386 libffi6:i386 libflac8 libflac8:i386
  libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgd3
  libgd3:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgomp1
  libgomp1:i386 libgpg-error0:i386 libgphoto2-6 libgphoto2-6:i386
  libgphoto2-port12 libgphoto2-port12:i386 libgsm1 libgsm1:i386
  libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0 libgstreamer1.0-0:i386 libhogweed4:i386 libice6:i386
  libicu57:i386 libidn11:i386 libjack-jackd2-0 libjack-jackd2-0:i386
  libjbig0:i386 libjpeg62-turbo:i386 liblcms2-2 liblcms2-2:i386
  libldap-2.4-2:i386 libltdl7 libltdl7:i386 liblz4-1:i386 liblzma5:i386
  libmount1:i386 libmp3lame0 libmp3lame0:i386 libmpg123-0 libmpg123-0:i386
  libncurses5 libncurses5:i386 libnettle6:i386 libnuma1 libnuma1:i386 libogg0
  libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libopenjp2-7
  libopenjp2-7:i386 libopus0 libopus0:i386 liborc-0.4-0 liborc-0.4-0:i386
  libp11-kit0:i386 libpcap0.8 libpcap0.8:i386 libpcre3:i386 libpixman-1-0:i386
  libpng16-16:i386 libprocps6 libpulse0 libpulse0:i386 libsamplerate0
  libsamplerate0:i386 libsasl2-2:i386 libsasl2-modules-db:i386
  libselinux1:i386 libshine3 libshine3:i386 libsm6:i386 libsnappy1v5
  libsnappy1v5:i386 libsndfile1 libsndfile1:i386 libsndio6.1 libsndio6.1:i386
  libsoxr0 libsoxr0:i386 libspeex1 libspeex1:i386 libspeexdsp1
  libspeexdsp1:i386 libstdc++6:i386 libswresample2 libswresample2:i386
  libsystemd0 libsystemd0:i386 libtasn1-6:i386 libtheora0 libtheora0:i386
  libtiff5 libtiff5:i386 libtinfo5:i386 libtwolame0 libtwolame0:i386 libudev1
  libudev1:i386 libusb-1.0-0 libusb-1.0-0:i386 libuuid1:i386 libva-drm1
  libva-drm1:i386 libva-x11-1 libva-x11-1:i386 libva1 libva1:i386 libvdpau1
  libvdpau1:i386 libvorbis0a libvorbis0a:i386 libvorbisenc2 libvorbisenc2:i386
  libvpx4 libvpx4:i386 libwavpack1 libwavpack1:i386 libwebp6:i386 libwebpmux2
  libwebpmux2:i386 libwrap0:i386 libx11-6 libx11-6:i386 libx11-xcb1
  libx11-xcb1:i386 libx264-148 libx264-148:i386 libx265-95 libx265-95:i386
  libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
  libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxml2:i386
  libxpm4:i386 libxrender1:i386 libxtst6:i386 libxvidcore4 libxvidcore4:i386
  libzvbi-common libzvbi0 libzvbi0:i386 wine-stable wine-stable-amd64
  wine-stable-i386:i386 zlib1g:i386
Suggested packages:
  isoquery alsa-utils glibc-doc:i386 libc-l10n:i386 locales:i386
  firmware-crystalhd firmware-crystalhd:i386 rng-tools:i386 libgd-tools
  libgd-tools:i386 gnutls-bin:i386 gphoto2 gphoto2:i386 libvisual-0.4-plugins
  libvisual-0.4-plugins:i386 gstreamer1.0-tools gstreamer1.0-tools:i386 jackd2
  jackd2:i386 liblcms2-utils liblcms2-utils:i386 libportaudio2
  libportaudio2:i386 opus-tools opus-tools:i386 pulseaudio pulseaudio:i386
  sndiod sndiod:i386 speex speex:i386
Recommended packages:
  libpam-cap dbus dbus:i386 libglib2.0-data:i386 xdg-user-dirs:i386
  libgphoto2-l10n libgphoto2-l10n:i386 gstreamer1.0-plugins-base
  gstreamer1.0-plugins-base:i386 libgpm2 libgpm2:i386 libsasl2-modules:i386
  uuid-runtime:i386 va-driver-all | va-driver va-driver-all:i386
  | va-driver:i386 vdpau-driver-all | vdpau-driver vdpau-driver-all:i386
  | vdpau-driver:i386 tcpd:i386 xml-core:i386 psmisc libcapi20-3 libcups2
  libglu1-mesa | libglu1 libodbc1 libosmesa6 libsane libv4l-0 libcapi20-3:i386
  libcups2:i386 libglu1-mesa:i386 | libglu1:i386 libkrb5-3:i386 libodbc1:i386
  libosmesa6:i386 libsane:i386 libv4l-0:i386 libxcomposite1:i386
  libxcursor1:i386 libxinerama1:i386 libxrandr2:i386 libxslt1.1:i386
  libxxf86vm1:i386
The following NEW packages will be installed:
  gcc-6-base:i386 iso-codes libasound2 libasound2:i386 libasound2-data
  libasound2-plugins libasound2-plugins:i386 libasyncns0 libasyncns0:i386
  libavcodec57 libavcodec57:i386 libavresample3 libavresample3:i386
  libavutil55 libavutil55:i386 libblkid1:i386 libbsd0:i386 libc6:i386
  libcairo2:i386 libcap2 libcap2:i386 libcap2-bin libcrystalhd3
  libcrystalhd3:i386 libdb5.3:i386 libdbus-1-3 libdbus-1-3:i386 libdrm2:i386
  libexif12 libexif12:i386 libexpat1:i386 libffi6:i386 libflac8 libflac8:i386
  libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt20:i386
  libgd3:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgomp1
  libgomp1:i386 libgpg-error0:i386 libgphoto2-6 libgphoto2-6:i386
  libgphoto2-port12 libgphoto2-port12:i386 libgsm1 libgsm1:i386
  libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0 libgstreamer1.0-0:i386 libhogweed4:i386 libice6:i386
  libicu57:i386 libidn11:i386 libjack-jackd2-0 libjack-jackd2-0:i386
  libjbig0:i386 libjpeg62-turbo:i386 liblcms2-2 liblcms2-2:i386
  libldap-2.4-2:i386 libltdl7 libltdl7:i386 liblz4-1:i386 liblzma5:i386
  libmount1:i386 libmp3lame0 libmp3lame0:i386 libmpg123-0 libmpg123-0:i386
  libncurses5 libncurses5:i386 libnettle6:i386 libnuma1 libnuma1:i386 libogg0
  libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libopenjp2-7
  libopenjp2-7:i386 libopus0 libopus0:i386 liborc-0.4-0 liborc-0.4-0:i386
  libp11-kit0:i386 libpcap0.8 libpcap0.8:i386 libpcre3:i386 libpixman-1-0:i386
  libpng16-16:i386 libprocps6 libpulse0 libpulse0:i386 libsamplerate0
  libsamplerate0:i386 libsasl2-2:i386 libsasl2-modules-db:i386
  libselinux1:i386 libshine3 libshine3:i386 libsm6:i386 libsnappy1v5
  libsnappy1v5:i386 libsndfile1 libsndfile1:i386 libsndio6.1 libsndio6.1:i386
  libsoxr0 libsoxr0:i386 libspeex1 libspeex1:i386 libspeexdsp1
  libspeexdsp1:i386 libstdc++6:i386 libswresample2 libswresample2:i386
  libsystemd0:i386 libtasn1-6:i386 libtheora0 libtheora0:i386 libtiff5:i386
  libtinfo5:i386 libtwolame0 libtwolame0:i386 libudev1:i386 libusb-1.0-0
  libusb-1.0-0:i386 libuuid1:i386 libva-drm1 libva-drm1:i386 libva-x11-1
  libva-x11-1:i386 libva1 libva1:i386 libvdpau1 libvdpau1:i386 libvorbis0a
  libvorbis0a:i386 libvorbisenc2 libvorbisenc2:i386 libvpx4 libvpx4:i386
  libwavpack1 libwavpack1:i386 libwebp6:i386 libwebpmux2 libwebpmux2:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-148 libx264-148:i386
  libx265-95 libx265-95:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386
  libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386
  libxml2:i386 libxpm4:i386 libxrender1:i386 libxtst6:i386 libxvidcore4
  libxvidcore4:i386 libzvbi-common libzvbi0 libzvbi0:i386 procps wine-stable
  wine-stable-amd64 wine-stable-i386:i386 winehq-stable zlib1g:i386
The following packages will be upgraded:
  libgd3 libsystemd0 libtiff5 libudev1 libx11-6 libx11-xcb1
6 upgraded, 184 newly installed, 0 to remove and 26 not upgraded.
Need to get 112 MB of archives.
After this operation, 625 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  wine-stable-amd64 wine-stable-i386:i386 wine-stable winehq-stable
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
ERROR: Service 'server' failed to build: The command '/bin/sh -c export DEBIAN_FRONTEND=noninteractive  && dpkg --add-architecture i386         && echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.list.d/wine.list   && apt-get -y update    && add-pkg winehq-stable procps' returned a non-zero code: 100```

Port forwarding NAT issues

There have been first reports from alternative attempts to dockerize the DayZ server that it is required to have the server running with network mode host in order to have the ports respond properly to the game client. I did not test this but it would obviously be suboptimal to require the host network mode in order to have a server running as it would make it sort of incompatible with Swarm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.