I got a couple of Dockerfile examples working that start postgres on load:
-
psychemedia/jupyter-postgres-demo::dockerfile-omero is based on the manics/omero-server-jupyter example. This has a step where user
jovyan
gains permissions over a postgres directory. -
psychemedia/jupyter-postgres-demo::sudoers is based on dchud/datamanagement-notebook and gives user
jovyan
escalatedroot
privileges viasudoers
.