Code Monkey home page Code Monkey logo

Comments (2)

timche avatar timche commented on June 15, 2024

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:

from docker-csgo.

maxkerp avatar maxkerp commented on June 15, 2024

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)

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.