Content
You are here:
OpenProject Docker data on Windows
Added by Nuno Marques about 6 years ago
Hi all.
I am currently playing around with OpenProject. I found the Docker container and thought this might be one of the easiest ways to test it out. I can get the container to run, yet I have not found a way to make my changes stick.
The existing documentation seems to be for linux and states i should:
sudo mkdir -p /var/lib/openproject/{pgdata,logs,static}
docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
-v /var/lib/openproject/pgdata:/var/lib/postgresql/9.6/main \
-v /var/lib/openproject/logs:/var/log/supervisor \
-v /var/lib/openproject/static:/var/db/openproject \
openproject/community:8
I assume that I need to change at least the paths so I tried:
docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \ -v d:/temp/docker/pgdata:/var/lib/postgresql/9.6/main \ -v d:/temp/docker/logs:/var/log/supervisor \ -v d:/temp/docker/static:/var/db/openproject \ openproject/community:8
No joy. All i get is an "invalid reference format" error and I can't figure out why. Can anyone offer some insight as to what's wrong and how to make changes stick with Docker?
Any and all help greatly appreciated.
Replies (5)
did you found how to do it in windows?
I figured out to remove the "\" chars.
After starting the container in my windows file system in directory "pgdata/" lot of file are created. Perfect!
But the container do not start and failed with the following error message:
i have the same error message and haven't found a solution yet :(
Hi
Yes dear Mr. & Ms. Openproject
Pls be so kind and pulish the comands for Docker Desktop for Windows to get a persistant container running.
And how to access it from internet for other users.
Hope for Help!
THX
Any update on this issues?