GithubHelp home page GithubHelp logo

Comments (7)

terrisgit avatar terrisgit commented on July 17, 2024

I was having a directory permission problems, since the user 'jetty' is running Shibboleth idP rather than 'root.' See also: http://stackoverflow.com/questions/23544282/what-is-the-best-way-to-manage-permissions-for-docker-shared-volumes

(1) On your Docker host, create a user and group both named jetty both with GID/UID = 1000

(2) mkdir -p ~/shibboleth-idp/logs

(3) In the 'docker run' command, add:

-v ~/shibboleth-idp/logs:/opt/shibboleth-idp/logs

Then the logs will be in ~/docker/shibboleth-idp on the Docker host. No need to change any config files.

(4) For every local directory (local to the Docker host) referenced in the -v options in your "docker run" command, run 'chown' on your Docker host:

chown -R jetty:jetty dirname

from docker-shibboleth-idp.

terrisgit avatar terrisgit commented on July 17, 2024

Perhaps update readme?

from docker-shibboleth-idp.

terrisgit avatar terrisgit commented on July 17, 2024

See also moby/moby#7198

from docker-shibboleth-idp.

jtgasper3 avatar jtgasper3 commented on July 17, 2024

@terrisgit, thanks for the report. I'll look into the details that you've posted over the coming days.

Thanks.

from docker-shibboleth-idp.

terrisgit avatar terrisgit commented on July 17, 2024

I eventually also had permission issues with files in /opt/iam-jetty-base/conf . They are owned by root but user 'jetty' needs to read them. Some files had permissions 660 instead of 664. I'm not sure how that happened. I was able to troubleshoot this only after my experience with the log files. I changed run-shibboleth.sh to run chown -R jetty:jetty on /opt/iam-user-base and /opt/shibboleth-idp

from docker-shibboleth-idp.

jtgasper3 avatar jtgasper3 commented on July 17, 2024

I just merged in changes for 3.1.2. Now that this is current, I'll get your changes in place.

from docker-shibboleth-idp.

jtgasper3 avatar jtgasper3 commented on July 17, 2024

The change I made tonight seems to produce logs in both locations: the IDP home and Jetty base.

from docker-shibboleth-idp.

Related Issues (17)

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.