Docker image that has XLR installed.
Running an empty XL Release with the repository stored inside the docker container
docker run -v ~/xl-licenses:/license -p 15516:5516 xebialabs/xl-docker-demo-xlr
Running an empty XL Release with the repository stored outside the docker container as a volume
docker run --rm -v [repo_location]:/opt/xlr/server/repository -v [archive_location]:/opt/xlr/server/archive -v ~/xl-licenses:/license -p 5516:5516 xebialabs/xl-docker-demo-xlr
NOTE: When starting the container the repository and the archive should be empty or have been initialized at the same time
The license volume mount is needed to provide a valid license, or store a license when logging in the first time. To access the UI, browse to http://[docker_ip]:5516
Extending this image
If you're creating an image based on this image as a parent, know that you can add a config fragment (i.e.
myapp.conf) to the
/etc/supervisor/conf.d directory, see the supervisor docs here. That will allow you to add your own programs to supervisor without having to override (copy/paste) the entire file.