Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
1. Are there any issues with setting the port to something different (such as, say, 7778/27021) for multiple servers in a docker-compose.yml?
2. Will you be updating this in the future for cluster support when that's confirmed working?
3. Are there start up commands to specify certain settings, like the map to run?
[+] Running 4/4
✔ server 1 layers [⣿] 0B/0B Pulled 39.0s
✔ fad4c8bb94a9 Pull complete 38.1s
✔ set-permissions 1 layers [⣿] 0B/0B Pulled 11.7s
✔ 0104f818a33a Pull complete 10.5s
[+] Running 4/5
✔ Network ark_default Created 0.1s
✔ Volume "ark_steamcmd" Created 0.0s
✔ Volume "ark_server-files" Created 0.0s
✔ Volume "ark_steam" Created 0.0s
- Container ark-set-permissions-1 Creating 404.5s
request returned Bad Gateway for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.43/containers/create?name=ark-set-permissions-1, check if the server supports the requested API version
Answering directly on all three questions:
1. You can set the port to whatever you like in the docker-compose.yml. e.g. If you want to have the gameport to listen on 8077 you would change the "0.0.0.0:7777:7777/udp" to "0.0.0.0:8077:7777/udp". You likely do not even need to change anything in the ARK configs, as docker would route the network packets through the container. If you experience issues with that, I'd recommend adding an additional launch argument ?Port=8077 to the server parameters file (see my 3rd answer to your questions)
2. I will definitely be looking into that, once it has been confirmed working. I'm using this software myself for hosting my own servers, so I have a high interest in having things updated.
3. Yes, I added an example to the README of the repository: https://github.com/mschnitzer/ark-survival-ascended-linux-container-image#7-changing-the-start-parameters-and-the-player-limit - I also explained how it is possible to change the player limit, as this is still confusing to people it seems.
What OS and version are you running?
As there's no connection to your Steam account in this setup and docker containers are isolated from each other, you should be fine running multiple servers on different ports if that is permitted by the EULA of Wildcard/Snailgames/Nitrado. I'm not up to date with the recent developments, so I don't want to spread rumors.
Excellent. I'll keep an eye on it as well. I know my friends are also highly motivated to have a cluster, and if it can be a seamless endevour I'm all for it.
Cool. It might be a good idea to pass the command line parameters as individual environment variables though rather than editing a file. It's less fragile in my opinion. Off the top of my head:
Not sure if I fully understand what you mean. So in general you can have the server listening on different ports by adding ?Port=12345 as a start parameter. This is independent of the port docker redirects traffic to. So you can launch the server on any port, but expose it on another through docker.
It could be very well that we both mean the same thing but just talking past each other.
To keep it simple: The server can listen on different ports other than 7777 natively.
I added a feature request:
https://github.com/mschnitzer/ark-survival-ascended-linux-container-image/issues/3
I will include it in the next update. Likely tomorrow or the day after.
Next update will also feature native RCON command executions:
https://github.com/mschnitzer/ark-survival-ascended-linux-container-image/issues/2
I saw the feature entries.
On an unrelated note: I've been having issues with your container downloading steamcmd. I know it isn't an issue with the URL, and I have plenty of other containers running which have internet access, but I'm certain it's a configuration issue on my part.
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Ignoraeble or something is missing?
There's gotta be another place that's define those ports that's over-riding what the docker compose file is declaring yah?
If you're starting "docker-compose start" without the -d, or connecting to it via -it, you'll see the default port 7777 and 27020 within the container itself. If you altered the docker-compose.yml properly (i.e. the left side of the port entries) the host should see 7778 and 27015 in use.
Let me know if you cannot solve it on your own, might be able to help you.
You can ignore that error.
Once you edited the docker compose file, you need to run `docker-compose up -d` again to let docker-compose recreating your container. If you just restart it using `docker restart $container` the changes in the compose file won't be taken into consideration as docker-compose is a separate tool.