docker run -i -t -name ceylon-herd-dbstore -v /var/lib/postgresql/data busybox sh
docker run -d -volumes-from ceylon-herd-dbstore -e POSTGRES_PASSWORD=ceylon-herd -e POSTGRES_USER=ceylon-herd --name ceylon-herd-db postgres
docker run -it -p 9000:9000 --name=ceylon-herd --link=ceylon-herd-db:ceylon-herd-db ceylon/ceylon-herd:1.18
You can shutdown all images. Next time simply do;
docker start ceylon-herd-db
docker start ceylon-herd
Now via browser go to http://localhost:9000