Comments (2)
So if I were to start the image docker-csgo:pug-practice it's already installed and runs the server in seconds with a concrete set of packages (steam client, metamod, sourcemod, practivemode, etc..).
This is not 100% correct. You need to mount a volume to the container where the server files will be installed (as explained here). The image takes care of automating the server installation and optionally installing all the mods as well depending on the image. The volume is the state.
Configuration would be done over ENV_VARS just like now, but starting a container would not install or update the dependencies again.
This definitely would have some drawbacks like a higher maintenance burden, but most of it could be automated.
This is not correct. Any environment variable ending with _VERSION
can be changed and will trigger an update or downgrade on container start.
What are the reasons that the installation of the server, plugins, etc. is part of the container's CMD (entry-point)? Couldn't we make this part of the image build process?
The server files are too big for an image (around 20 GB). Also some files must be stored in a volume.
You should try to read and go through the shell scripts to get an understanding what is happening:
- https://github.com/timche/docker-csgo/blob/main/base/server.sh
- https://github.com/timche/docker-csgo/blob/main/sourcemod/server_sourcemod.sh
- https://github.com/timche/docker-csgo/blob/main/pug-practice/server_pug_practice.sh
from docker-csgo.
Thank you so much for your quick reply. It does make a lot more sense now ✌️
The obvious thing I was missing is the size of the server files. A container image of 20GB would be ridiculous.
from docker-csgo.
Related Issues (19)
- Container stop in middle of the proccess HOT 2
- Server not starting HOT 2
- server not starting HOT 1
- Question: How can I access the Local Server Console? HOT 1
- how do i get the auto recorded demo out of the container? HOT 2
- How to input csgo commands to server through the image HOT 2
- Permission error HOT 13
- Banned by server HOT 1
- Server hibernating. HOT 3
- Sourcemod server crashes on start HOT 1
- Container fails during startup HOT 1
- Re-enable bots HOT 2
- Remove custom files from server directoy that are not present HOT 3
- Improve server `var`
- Fixing for CS2 HOT 10
- Documentation request: how to start csgo-practice-mode HOT 6
- Cant launch Practice mode HOT 5
- I installed this on my Synology NAS, the bots are frozen HOT 2
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 docker-csgo.