@liuhx this page has good instructions: https://tour.dgraph.io/moredata/1/
note it only works if you are running dgraph using these commands: https://tour.dgraph.io/intro/2/
Important part is your ~/dgraph folder should be mounted in the dgraph container, otherwise you’d need to adjust it according to your setup