Comments (6)
The Dockerfile has a user and group created on line 86
Lines 86 to 87 in 6ee9dd3
.env
for the users to fill out so when the container starts it'd automatically handle the user interaction for them but that concept would have to be proven out.
We're able to edit config files from inside the container since the PR to add vim
to the image had been merged.
from linuxgsm-docker.
With the volume bind we can edit the configs under the user the container is started under on the host too. The changes made on the host will instantly reflect in the container but the game server still needs the initial, manual, interaction to be installed so we have access to those specific configs.
from linuxgsm-docker.
I would have to test it, but is it possible to create groups and users in the Dockerfile? Afterwards you can switch using the USER
docker statement and run the process as the given user. I think you should try to avoid running sudo commands.
from linuxgsm-docker.
I tried that however it was causing permission issues as inside the docker user had no write permission . So really need some experiment . The whole Linuxgsm user specified. If there would be no user group specification in Dockerfile that might change things , would make your plan working , but that might break things inside LGSM
from linuxgsm-docker.
@clairmont32 that is true , and even above all that we are already capable of using any editor as root with the same effect on host. Might be pointless to do indeed
from linuxgsm-docker.
@takov751 lets bring this convo over to #27 (comment) so we dont clutter the issues with our back and forth.
from linuxgsm-docker.
Related Issues (20)
- Request for new gameserver log command for docker logs HOT 1
- Several questions HOT 5
- missing steamcmd dependency for vhserver
- Increase Distro to Ubuntu 20.04
- Can't build the image HOT 2
- Mounting Azure file shares on containers sets root as owner HOT 1
- bash: ./entrypoint.sh: No such file or directory HOT 5
- 0x602 Network Error Ark is broke HOT 1
- Idea HOT 2
- exec /usr/bin/tini: no such file or directory HOT 1
- When running docker image and running container it shows errors in entrypoint.sh HOT 1
- Add lib32z1 and gdb
- [Enhancement] Allow tail'd folder to be an ENV variable via Docker HOT 1
- Why my server cant get query in docker?
- Aknowledge original contributor please HOT 2
- Cannot get the version
- Add libtbb2:i386
- entrypoint.sh does not correctly create servers with the <gamename>-<number> specification
- Server commands (7D2D) indicates 'info_game.sh' errors during execution 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 linuxgsm-docker.