Comments (6)
I will take a look at what some other images have done on this. I wanted to make sure that it wasn’t running as root, even in the container, but I agree, it would be helpful to be able to specify the UID/GID values. Thanks for bringing it to my attention!
Sent with GitHawk
from ignition-docker.
See an example here: https://gist.github.com/toniher/e465a45c4406d0e6c5123cf83403010b
from ignition-docker.
Dear Kevin, i really appreciate your job and i still have problems with UID and GID.
I need to change the UID and GID of "ignition" user in your contaiiner (999:999) to match the one in my Synology NAS (1024:100, that sadly i cannot change at all).
I tried hard (little experience...) to find a solution but no success at all.
I cannot change it from bash, useing "usermod", since "ignition" user is obviously used in ignition process.
So i am stuck and I'm kindly asking you if there is a way of doing this.
Thanks in advance
from ignition-docker.
@proartsrl I want you to be unstuck! I was actually preparing the small adjustments to the base image hinted above earlier this week. I will endeavor to commit those soon.. What I can do for you is push a custom image with your uid/gid settings to make it easy for you. I will follow up soon.
Sent with GitHawk
from ignition-docker.
@proartsrl, I have updated the image (with commit 68f5ba9) to fully support GID/UID specification on image build. Unfortunately, this does require you to build the image from the repo here. You can do so from the 8.0
folder with the command below (substitute the tag after -t
to your liking):
$ docker build --build-arg IGNITION_EDITION=full --build-arg IGNITION_DOWNLOAD_URL=https://files.inductiveautomation.com/release/ia/build8.0.6/20191112-1641/Ignition-linux-64-8.0.6.zip --build-arg IGNITION_DOWNLOAD_SHA256=7e69ea6f09a8bc0d67fd5fdd64102401115e3a0161f4258181285dfba8570c5d --build-arg IGNITION_UID=1024 --build-arg IGNITION_GID=100 -t kcollins/ignition:8.0.6-synology .
The command above can easily be constructed by looking at the .travis.yml
file in the base of this repo. That file is what is used by Travis CI to build and deploy my images to Docker Hub. As a courtesy to get you going quickly, I've built an image (using the command above) and pushed to Docker Hub under the tag kcollins/ignition:8.0.6-synology
with the specified UID/GID you mentioned in the issue. You should be able to use that tag instead of kcollins/ignition:8.0.6
when you create a container.
I'm going to close this issue, please open another one if you run into any other specific problems with the UID/GID functionality! Thanks again for your patience!
from ignition-docker.
from ignition-docker.
Related Issues (20)
- Restoring Edge GWBK through `/restore.gwbk` comes up in Full edition mode
- Adapt auto-commissioning to use upstream capabilities HOT 1
- Correct bug in handling of GATEWAY_SYSTEM_NAME with spaces HOT 2
- Blank leased-activation config being written to disk causing error on startup
- Volume marker not being placed properly in data volume
- Empty Volume Mode for WSL2<>Windows bindings causing failures on startup
- JDBC Drivers not being properly linked in on 8.1.8
- Third-party modules licenses with filenames other than `license.html` fail to link HOT 1
- Linking Sepasoft modules HOT 3
- Add ability to run-as-root
- Upgraded module from /modules ended up in Quarantine
- Update README with links to Official Image
- Add support for Docker Buildx Bake
- Linking ApexCharts-signed.modl third-party module causes container to fail-to-start HOT 1
- Third party jdbc driver not loading from /jdbc mount HOT 4
- `IGNITION_GID` value that conflicts with built-in container groups is fatal error
- host volume path HOT 11
- Modules Paths HOT 2
- Specifying only `GATEWAY_INIT_MEMORY` can cause container not to start
- Remove extracted jre-nix from -slim image
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 ignition-docker.