Comments (3)
Side note: I do not pass
SRCDS_TOKEN
, but that should not change anything.
If you don't, then connections will be restricted to LAN only. Make sure to keep that in mind. So if the server is hosted on a public IP you won't be able to connect.
Given the comment, I assume that you are aware of that though.
I'm not knowledgeable about Docker for Windows, so I can't really help you further. However, if you manage to find the solution let me know :)!
from csgo.
Yeah, I'm aware that the connections are restricted to LAN. I was actually just trying to use the container for a LAN setup.
I am not completely sure how windows runs docker, but the networking to connect to the containers is definitely different to linux. I tried updating windows to have WSL 2 support, as I thought that would change the networking, but the container seems to run in a completely different network, which makes it not possible to run a LAN setup with csgo in a container.
When setting the SRCDS_TOKEN
everything works fine, when publishing the port 27015
on windows.
Anyway, thanks for the container 😃
PS: Maybe a question for another thread: Why add the following commandline argument: -v /home/steam/csgo-dedicated/
? Seems to work with and without it.
from csgo.
@t-h-e
Glad it works on Windows using the token! It's very likely because srcds doesn't detect the docker bridge as a private network for whatever reason (probably some sort of pattern matching that's failing).
PS: Maybe a question for another thread: Why add the following commandline argument:
-v /home/steam/csgo-dedicated/
? Seems to work with and without it.
Yes, it works without but it's a horrible idea not to use a volume, since the data has to be downloaded first. That would mean you would be saving every change into a separate layer using the selected storage driver (usually overlay2). The initial game server download & successive updates would keep adding more and more layers, ballooning the container more and more.
The rule of thumb is:
Data that changes a lot (for example database) -> volume
Application that remains the same (static webserver) -> storage driver
from csgo.
Related Issues (20)
- Issue Running Docker Image HOT 2
- esl configs are outdated HOT 5
- My server is unable to list in the CSGO Community Servers HOT 2
- Server not showing on LAN tab when running on WSL2 HOT 1
- entry.sh
- Running on OS X on Docker Desktop HOT 2
- CS2 HOT 10
- Volume owner and group HOT 1
- Getting `SteamAPI_Init() failed; create pipe failed.free(): invalid pointer` on sourcemod build HOT 5
- Container is not starting on Ubuntu 18.10 HOT 13
- Malware found in container HOT 1
- How to change the server port after created a container HOT 2
- Server suddenly not starting anymore HOT 10
- Instance is not accessible from Internet HOT 2
- 100% CPU Usage can't kill container HOT 3
- missing configuration files HOT 3
- [Feature Request] Update only execution HOT 1
- Get5 mod compatibility question HOT 1
- Container don't start with Debian 11 HOT 1
- Permission denied HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csgo.