Mount folders (import, files, binaries) to local directory and not in a Docker volume #1022
zyronix
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By default (when you use the default docker-compose) the Hashtopolis folder (import, files and binaries) are in a Docker volume.
You can list this volume via
docker volume ls
. You can also access the volume directly in the backend, because it is mounted at:/usr/local/share/hashtopolis
inside the container.However, if you do not want the use the volume but want to use folders of the host OS you can change the mount points in the docker compose file:
Make sure to copy everything out of the docker volume, you can do that using:
docker cp hashtopolis-backend:/usr/local/share/hashtopolis <directory>
Next, recreate the containers:
docker compose down
docker compose up
Remember to copy the contents back into the folders.
Beta Was this translation helpful? Give feedback.
All reactions