Hi all
I made a container and here you have the most relevant parts:
FROM archlinux:latest
...
RUN pacman -Sy \
--noconfirm \
jdk11-openjdk wget bzip2
...
ENV PATH="/neo4j-community-4.2.4/bin:"${PATH}
RUN neo4j-admin load --from=/neo4j.dump --database=neo4j --force
....
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Then in the entrypoint:
#!/bin/bash
PATH="/neo4j-community-4.2.4/bin:"${PATH}
neo4j console
My problem is
- I launched the container then began developing (without volume…)
- I need to dump the data
- I cant dump a running database…
- I need to stop the “neo4j console” process, but this will kill the container…
How can I dump my database?
Thank you for you help