Something’s going wrong during start-up of the PostgreSQL container. Whatever is wrong with it the first time is still wrong with it the second and third times, so that’s why the restarts are failing. Have a look at the logs for the container and see if there’s anything in there that indicates why it’s failing:
$ docker logs xnatmaster_xnat-db_1
--
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Phone: +1 (314) 273-1645
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/24f1bec1-62ae-4ec4-b45c-a4a1b1bb2738%40googlegroups.com.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/24f1bec1-62ae-4ec4-b45c-a4a1b1bb2738%40googlegroups.com.
I think this is what you’re seeing:
https://github.com/docker/for-win/issues/3385
Try the fix described in there.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/c9d956bf-3cd0-48e6-ac5c-1bfda6e63cf3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/c9d956bf-3cd0-48e6-ac5c-1bfda6e63cf3%40googlegroups.com.
There’s not really much I can do with that myself, since I don’t have a Windows machine to test it on. I think creating an external volume and mounting that seems like it would work, so give that a try!
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/45fd7181-3d51-4f64-93fa-bc4c2d9f05c1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/c9d956bf-3cd0-48e6-ac5c-1bfda6e63cf3%40googlegroups.com.
I don’t think you need to pass the -D xxx option into the container. Instead just mount the volume to the default data folder for the PostgreSQL container, which I believe is /var/lib/postgresql/data (at least that’s what it’s mounted to in the standard XNAT docker-compose configuration).
I don’t really trust that first configuration with just “- /var/lib/postgresql/data”, since I don’t know where that would mount from locally. I think the second configuration, mounting a defined volume that’s pre-configured, would be the best option.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/dff59918-c5dc-4683-9039-057ff34811f5%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/dff59918-c5dc-4683-9039-057ff34811f5%40googlegroups.com.