Giter VIP home page Giter VIP logo

Comments (6)

thirdgen88 avatar thirdgen88 commented on June 12, 2024 1

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.

morganzion avatar morganzion commented on June 12, 2024

See an example here: https://gist.github.com/toniher/e465a45c4406d0e6c5123cf83403010b

from ignition-docker.

proartsrl avatar proartsrl commented on June 12, 2024

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.

thirdgen88 avatar thirdgen88 commented on June 12, 2024

@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.

thirdgen88 avatar thirdgen88 commented on June 12, 2024

@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.

proartsrl avatar proartsrl commented on June 12, 2024

from ignition-docker.

Related Issues (20)

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.