I am running dgraph via a docker image as per the instructions, and serving the tutorial locally. On the more data 1 page the instructions to load the large dataset fails with the error below.
$ docker exec -it dgraph dgraphloader -r 1million.rdf.gz
Error response from daemon: No such container: dgraph
$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8a58af97efe7 dgraph/dgraph "dgraph --bindall=..." 9 hours ago Up 9 hours 0.0.0.0:8080->8080/tcp unruffled_franklin
$ ls 1million.rdf.gz
1million.rdf.gz
(I’m going through the tutorial and making notes for fixes that are needed and questions that need to be clarified for a neophyte to make progress - please expect PRs and issues sometime soon).
@olgabot The command for the Dgraph Live Loader is now dgraph live.
You’ll need to docker run a Dgraph container before you can docker exec commands within that container. See Run Dgraph in the Tour of Dgraph for more info.
Hello! Thank you for your response. I’m new to docker and ran the
docker-compose command to start the server. Is that the same as docker run
but with a config file, or should I stop that container and do docker run?
You’ll need to docker run a Dgraph container before you can docker exec
commands within that container. See Run Dgraph https://tour.dgraph.io/intro/2/ in the Tour of Dgraph for more info.
I’m new to docker and ran the docker-compose command to start the server. Is that the same as docker run but with a config file
It’s the same. You’ll want to double check the container name so you can run commands in the correct container.
For more real-time help feel free to join our Slack community at https://slack.dgraph.io/ or post a question on the forums at http://discuss.dgraph.io. This closed issue isn’t the best place to have this conversation.