Jump to content

DCS World Dedicated Server Docker container - aka how to run the DCS Dedicated server on Linux


Recommended Posts

Posted

Since I am now relatively happy with where this is at (v1.0.0 being released this Saturday) I thought I would post so more folk can get access to the DCS World Dedicated server without having to pay for more expensive windows VPS hosts.

tl;dr?

Q: What does this Docker image do?

A: It lets you run the DCS Dedicated server on Linux (in a Docker container) with web based access to a GUI running the xfce desktop environment complete with auto installation (including chosen map modules), auto startup and auto updates.

This container can be found at https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker , example Docker Compose files are provided with instructions on usage in the README.

If people have requests, bug reports etc... please let me know on the GitHub pages as an issue or in a discussion. I'll do my best to try to keep things working but please remember maintaining this for free is not my day job.

The installation process (subject to the user setting the correct options) looks like this:


At present the DCS Dedicated server docker seems to work well (though I have not done any performance comparisons with native Windows execution) and I should eventually be releasing an update that allows people to use it with DCSServerbot - https://github.com/Special-K-s-Flightsim-Bots/DCSServerBot

This server docker is probably also well complimented by some other docker containers I produce:

  •     The Sneaker WebGCI docker I also maintain (much credit to the original code developers) which provides a web accessible GCI style live display of a DCS Server - https://github.com/Aterfax/sneaker
  •     The Sneaklardooon docker (which wraps Sneaker with Lardoon and Jambon to also provide a web accessible Tacview recording repository also with much credit to the original code developers.) https://github.com/Aterfax/docker-Sneaklardooon

 If a mod / ED Staff member fancied pinning this post in the "Multiplayer Server Administration" forum section I'd be much obliged.

  • Like 3
  • Thanks 3
  • 5 weeks later...
Posted

Hi, hi have install dcs server on my linux serv, but when i try to launch i have an 500 error ( ps i've checked time of server / alpine XFCE ).

can you help me ?
Échec de l'obtention des données d'autorisation. Le
code d'erreur est: 500
Aucune autorisation
sauvegardée n'a été trouvée.

english
fail to authorisation
error 500
no authorisation save can be find

Posted (edited)

Can't look at this until the weekend but error 500 is usually a server side issue so this may be a transient issue.

Please add a screenshot of this.

Edited by aterfax
  • 4 weeks later...
Posted

Looking forward to seeing where this goes. I would love to drop windows for servers.

  • Like 1

CPU: i9-12900K @ 4.9Ghz

M/B: MSI MEG z690 Ace

RAM: 128GB

Video Card: MSI RTX 4090 Suprim Liquid X

VR: Varjo Aero

Posted
On 5/21/2024 at 9:53 AM, Neon said:

I plan on using this in a upcoming project. Has anyone figured out SRS via the docker image?

 

it is so small, i would wonder the point, but I know if it was possible I would use it.

CPU: i9-12900K @ 4.9Ghz

M/B: MSI MEG z690 Ace

RAM: 128GB

Video Card: MSI RTX 4090 Suprim Liquid X

VR: Varjo Aero

  • 2 weeks later...
  • 1 month later...
Posted (edited)

Hi guys, is this setup something I can run on a headless linux server? I´m not a linux server pro, the only thing I can get running is multiple self-made dotnet web servers. Also not familiar with Docker.

Update: I got it running, after I understood what linuxserver webtop is and what it does

Edited by StieMO
  • 1 month later...
Posted

I've been running the container successfully for a bit now and I want to thank you so much for it. When I tried to get the image to get srs working it wouldnt work. I would love to see SRS integrated and it working. Please keep up the great work

  • Like 1
  • 3 weeks later...
Posted
On 8/8/2024 at 4:45 PM, mmarques said:

@aterfaxI tried running this on unraid and it's giving me this error, even though I have 200GB assigned to the docker image so disk space shouldn't be an issue, any idea?

image.png

My guess would be that your chosen mount location has insufficient storage space. The server is stored on the bind mount, not within the docker image space.

See the mount line: https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker/blob/main/docker-compose/Dedicated-Server/docker-compose.yml#L42C1-L42C54

The default as shown would be your home directory which may be on a small disk.

  • 1 month later...
Posted (edited)

Hi @aterfax

Thanks for the effort!!! Installed it just now on TrueNas Scale, using DockerGE.

When trying to open the DCS Server WebGUI via the desktop shortcut there on the Alpine XFCE desktop, there is nothing happening. WebGUI does not open.

Manually opening the same via shell

"

dcs-server:~/.wine/drive_c/Program Files/Eagle Dynamics/DCS World Server/WebGUI$ xdg-open index.html

"

gives me:

"

dcs-server:~/.wine/drive_c/Program Files/Eagle Dynamics/DCS World Server/WebGUI$ Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[3932:3932:1124/180130.915914:FATAL:zygote_host_impl_linux.cc(207)] Check failed: . : Operation not permitted (1)
[1124/180130.923699:WARNING:process_reader_linux.cc(95)] sched_getscheduler: Function not implemented (38)
[1124/180130.923839:WARNING:process_reader_linux.cc(95)] sched_getscheduler: Function not implemented (38)

"

Any clue?

Many thanks in advance!

Edit: starting Chromium and providing "file:///config/.wine/drive_c/Program%20Files/Eagle%20Dynamics/DCS%20World%20Server/WebGUI/index.html#/en/settings" as URL does work

 

Edited by pollekepol

AMD Ryzen 5800X3D / 6900 XT  / 32GB / Pimax Crystal Light / T.16000M+TWCS / Fanatec CSL Elite Pedals / ButtKicker G2 / OpenXR / Windows 11

  • 3 months later...
Posted

@aterfax: I've figured out how to install DCS without innoextract'ing the updater and how to get SRS up and running. Also set DCS and SRS up as systemd units that support multiple instances. Have a look and give me a shout. I would like to collaborate on this.

  • Thanks 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...