Importing ArangoDB-Dump in Dockerfile

Viewed 586

I wanna build a Docker image based on the official ArangoDB-image. In the Dockerfile, I copy and execute a shell script. This scripts downloads and unzips an Arango dump and imports it with arangorestore --input-directory "dump".

The console log shows, that the import was successfully completed:

# Connected to ArangoDB 'http+tcp://127.0.0.1:8529'
# Re-creating document collection 'pages'...
# Loading data into document collection 'pages'...
# Re-creating edge collection 'links_bar'...
# Loading data into edge collection 'links_bar'...
Processed 2 collection(s), read 143363388 byte(s) from datafiles, sent 19 batch(es)

However, when I start a container of this image and go to the Arango web interface, it seems like there is no data at all...

1 Answers
Related