# Import csv with neo4j-admin on a docker

**URL:** https://community.neo4j.com/t/import-csv-with-neo4j-admin-on-a-docker/22809
**Category:** Neo4j Graph Platform
**Tags:** import
**Created:** [August 3, 2020, 2:49pm UTC](https://community.neo4j.com/t/import-csv-with-neo4j-admin-on-a-docker/22809 "2020-08-03T14:49:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shmkuf](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/shmkuf/32/3828_2.png) [@shmkuf](https://community.neo4j.com/u/shmkuf)
#### Post date: [August 3, 2020, 2:49pm UTC](https://community.neo4j.com/t/import-csv-with-neo4j-admin-on-a-docker/22809/1 "2020-08-03T14:49:48Z")

</div>

Hi, I am trying to import a csv file with neo4j-admin on a docker  
First I run the docker:

```auto
docker run \
    --name testneo4j \
    -p7474:7474 -p7687:7687 \
    -d \
    -v $HOME/neo4j/data:/data \
    -v $HOME/neo4j/logs:/logs \
    -v $HOME/neo4j/import:/var/lib/neo4j/import \
    --env NEO4J_AUTH=neo4j/test \
    neo4j:4.1.1

```

inside the docker, I run the following:

```auto
neo4j-admin import --nodes=Location=node_location.csv

```

and got the following error:

```auto
Neo4j version: 4.1.1
Importing the contents of these files into /data/databases/neo4j:
Nodes:
  [Location]:
  /var/lib/neo4j/import/node_household.csv

Available resources:
  Total machine memory: 1.952GiB
  Free machine memory: 66.17MiB
  Max heap memory : 444.5MiB
  Processors: 4
  Configured max memory: 1.366GiB
  High-IO: false

IMPORT FAILED in 18477d 14h 34m 49s 585ms.
Data statistics is not available.
Peak memory usage: 0B
Import error: Unable to open store file: /data/databases/neo4j/neostore
Caused by:Unable to open store file: /data/databases/neo4j/neostore
org.neo4j.exceptions.UnderlyingStorageException: Unable to open store file: /data/databases/neo4j/neostore
	at org.neo4j.kernel.impl.store.CommonAbstractStore.checkAndLoadStorage(CommonAbstractStore.java:254)
	at org.neo4j.kernel.impl.store.CommonAbstractStore.initialise(CommonAbstractStore.java:151)

```

What did I miss?

---

<div class="post-metadata">

### Author: ![anthapu](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/anthapu/32/4113_2.png) [@anthapu](https://community.neo4j.com/u/anthapu)
#### Post date: [August 3, 2020, 3:26pm UTC](https://community.neo4j.com/t/import-csv-with-neo4j-admin-on-a-docker/22809/2 "2020-08-03T15:26:01Z")

</div>

Welcome to the neo4J community.

Can you please check if the Neo4J instance has started? If so to be able to use neo4j-admin import you need to bring the neo4j instance down or stop the neo4j database.

neo4j-admin import over writes the existing database.

---

<div class="post-metadata">

### Author: ![shmkuf](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/shmkuf/32/3828_2.png) [@shmkuf](https://community.neo4j.com/u/shmkuf)
#### Post date: [August 4, 2020, 7:35am UTC](https://community.neo4j.com/t/import-csv-with-neo4j-admin-on-a-docker/22809/3 "2020-08-04T07:35:42Z")

</div>

please elaborate: what do you mean "Neo4J instance has started".  
If I run inside the docker

```auto
neo4j status

```

the result is

```auto
Neo4j is not running

```
