Content
Docker how to transfer data
Started January 22, 2019 10:36 · 1 reply · 2 participants
Hi together,
I had run open project with this command:
docker run -it -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:8
Now all data is in the conatiner and not in a persistant volume. Can I move the data in a volume?
Hi Peter,
Take a look at the link: https://www.openproject.org/docker/ and read through the section on "Recommended usage". The -v switches show how to ensure the data in the container will be available in your local directories.
-Rob