The resulting image can be run as a standalone container. It will expose
ports for all of the services provided by Citadel Server, and two instances
of WebCit (HTTP and HTTPS).
+
+Use the "run-citadel.sh" script to start the container, or use it to learn
+what information needs to be supplied. In particular, you need to map a
+persistent volume to the data directory, otherwise you will lose all of your
+data when the container is upgraded.
+
#!/bin/bash
docker ps -a | awk ' { print $1 } ' | xargs docker rm
docker image list | awk ' { print $3 } ' | xargs docker image rm
-
+docker volume list | awk ' { print $2 } ' | xargs docker volume rm
--- /dev/null
+#!/bin/bash
+
+docker run \
+ --name citadel \
+ -v citadel-data:/usr/local/citadel/data \
+ -v citadel-files:/usr/local/citadel/files \
+ -v citadel-keys:/usr/local/citadel/keys \
+ -d \
+ $1