Git Product home page Git Product logo

Comments (3)

jlesage avatar jlesage commented on July 19, 2024

Is the app looking for a specific UID or just a username in /etc/passwd ?

from docker-baseimage-gui.

karlkashofer avatar karlkashofer commented on July 19, 2024

I dont know.
Its a java 8/netbeans app for configuring the alarm system of my house. I very rarely use it and it does not run on recent debian, so i would like to run it from the container.

I cant put everything in /home/app that does not work, apparently the config contains folder names.

If i start it as a different user it gets to the installation screen, so it is not finding the config. I need it to use the existing config. It was set up when the alarm system was installed. Its a gruesome java app, basically nonsensical translations from italian and really weird windowing system. But its all i have, and i can reset alarms and see error messages in there.

I would really need the /home/karl/ folder and i think i also need the starting user to be karl. :)

from docker-baseimage-gui.

jlesage avatar jlesage commented on July 19, 2024

Ok. In any case, you can setup things during startup of the container as root by using an init script (e.g. /etc/cont-init.d/55-app.sh).

Starting the app via startapp.sh is always done under the user configured via USER_ID and GROUP_ID. I guess you will have to setup the karl user with these.

from docker-baseimage-gui.

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.