You're mounting a local directory $HOME/neo4j/data
to the /data
directory in the container.
So, the content of the directory in the container will be synced with your local one.
There is actually no need to enter the container to view the content since if you delete something locally it will be reflected in the container as well.
But to reply fully, in the container it is exactly where you mapped when defining the volume, in /data
:
$ docker exec -it neo4j_1 sh
# ls
LICENSE.txt LICENSES.txt NOTICE.txt README.txt UPGRADE.txt bin certificates conf data import lib logs metrics plugins run
# cd /data
# ls
databases dbms transactions
#
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…