Dgraph cluster setup using docker

hello, when I use docker to install dgraph cluster, the following error occurs:
Error while creating WAL dir.
The result as follows:

And I type as follows:
mkdir ~/zero
docker run -it -p 5080:5080 -p 6080:6080 -v ~/zero:/dgraph dgraph/dgraph:latest dgraph zero --my=localhost:5080

How to solve it?

Try this.

In the local machine go to ~/zero and remove all*
Go to docker, remove all related volumes and dangling containers.

And try again.

ok,thank you, I tried as you said, and found that the file mounted by docker could not be loaded when the firewall was turned on, and it worked normally when the firewall was turned off.

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