'Rerun through intro tour' is missing a clause

The intro tour has commands that work perfect for first time dgraph run using docker. However, when the same intro is run through second time, after the docker things have been done once already, those exact commands don’t work as is, as docker complains The container name "/dgraph" is already in use by container and work only after docker container rm dgraph

What would be the right commands in this rerun scenario? The intro tour needs to reflect that.

You can do docker stop https://docs.docker.com/engine/reference/commandline/stop/
and then docker start https://docs.docker.com/engine/reference/commandline/start/

If you have difficulties it is recommended to use Docker-compose.
https://docs.dgraph.io/get-started/#docker-compose

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.