Do the following.
docker exec -it dgraph sh
And then
curl -L -o 1million.rdf.gz "https://github.com/dgraph-io/tutorial/blob/master/resources/1million.rdf.gz?raw=true"
Run
ls && pwd
You should get
1million.rdf.gz p w zw
/dgraph
Now you can just run (But remember to add the schema)
dgraph live -f 1million.rdf.gz --alpha localhost:9080 --zero localhost:5080 -c 1
Now you can just exit
exit