Table of Contents generated with DocToc
This image is pre-configured with Apache 2.4, php 7.2 and SSP. The behavior of the image can be controlled with
These run time configurations options are useful for experimenting and
development. However if you want to distribute a specific
preconfigured image then you should build on top of this image and
perform these customizations in your Dockerfile
SSP is installed into the /var/simplesamlphp and Apache aliases the
path /simplesaml to the SSP's www folder. You can adjust the
Apache mapping with SSP_APACHE_ALIAS environmental variable. The
default document root is /var/www
We'll be iterating on this image and making breaking changes. Currently this image is useful for testing/learning SSP and testing custom modules.
Port information is important in SAML metadata. If the metadata says your service is on port 443 then your docker container won't work correctly if its running on port 47651. We recommend using (TODO: add link) jwilder/nginx-proxy image simplifies your life. The proxy listens on port 443 and routes traffice to the appropriate SSP image.
Proxy setup is its own README
/etc/ssl/certs/${APACHE_CERT_NAME}.pem and /etc/ssl/private/${APACHE_CERT_NAME}.keyerrorlog6 (INFO)There are a number of samples in the samples folder. samples/testshib/README.md is a good starting point.
To run SSP against local files, no nginx proxy and listening on port 443
docker run -d -p 443:443 -v $PWD/ssp/config:/var/simplesamlphp/config cirrusid/ssp-base
note: the folder used in the above example does not contain and config files. It is just an example of how to set a folder.
A lot depends on how you configure SSP, if you are using a proxy, and what environmental variables you set, but you should be able to access the install with a URL such as https://127.0.0.1:1660/simplesaml/ where port 1660 is the port picked by Docker to map to 443. That port will be different for you
This will build an image called cirrusid/ssp-base and tag it with the ssp version 1.16.1
docker build -t cirrusid/ssp-base:1.16.1 -f ssp-base/Dockerfile .
If you are building the latest version of ssp, then you can tag it with latest to make certain things easier in the future.
docker tag cirrusid/ssp-base:1.16.1 cirrusid/ssp-base:latest
You can see the images
docker images cirrusid/ssp
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
cirrusid/ssp 1.13.2 97cf0a208322 About a minute ago 535.8 MB
cirrusid/ssp latest 97cf0a208322 About a minute ago 535.8 MB
TODO
Content type
Image
Digest
Size
163.9 MB
Last updated
over 7 years ago
docker pull szabogyula/simplesamlphp