Comments (7)
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.
Perhaps update readme?
from docker-shibboleth-idp.
See also moby/moby#7198
from docker-shibboleth-idp.
@terrisgit, thanks for the report. I'll look into the details that you've posted over the coming days.
Thanks.
from docker-shibboleth-idp.
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.
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.
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)
- Add Shibboleth IDP v3 based image HOT 1
- Jetty 9.3 HOT 7
- Default key version has not changed, still secret1 HOT 2
- Allow for customizable maximum heap setting HOT 1
- upgrade Jetty to 9.3.3
- jetty-ssl-context.xml file HOT 1
- Add basic documentation HOT 2
- Latest docker build doesn't start HOT 4
- Project Moved
- Disable Jetty's default directory listing HOT 1
- Disable Jetty's context listing HOT 1
- Provide Import/Export abilities HOT 1
- Remove port 80 access HOT 1
- Need to assign pseudo terminal for reset-idp.sh HOT 1
- keystore not found HOT 4
- Unresponsive after reset_idp.sh - Exception in thread "main" java.io.FileNotFoundException: /opt/shibboleth-idp/credentials/idp-backchannel.jks (No such file or directory) HOT 4
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 docker-shibboleth-idp.