Version Mismatch for Docker Image vs. Tutorial version

Moved from GitHub tutorial/138

Posted by darkn3rd:

The intro tutorial instructs user to run dgraph/graph:latest tutorial regardless version of the tutorial.

Steps

Thus if you run this command as per tutorial instructions for 1.2.1:

docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph --name dgraph dgraph/dgraph dgraph zero

Actual Results

You will have the image for v20.03.0.

In this scenario there may be either features and bugs in the dgraph version that would make the instructions not work.

Expected Results

A tutorial for 1.2.1 should have the following instruction:

docker pull dgraph/dgraph:v1.2.1
docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph --name dgraph dgraph/dgraph:v1.2.1 dgraph zero