Following along with pt 1 tutorial when I go to open
Terminal 1: docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone
Terminal 2: docker run dgraph/ratel
Browser: 127.0.0.1:8000
Adjusted to:
Terminal 1: docker run --rm -it -p 9080:9080 dgraph/standalone
Terminal 2: docker run dgraph/ratel -p 8000:8000 -p 8000:8000
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "-p": executable file not found in $PATH: unknown.
Docker isn’t hard, actually it makes life a ton easier. You should take a time to master it - something like a month focussed on it before using any software (like Dgraph). Use Docker is like using VMs daily.
There are some topics like network, storage sharing, resources management and so on. It is much like administering VMs, although they are not the same thing.
One way I quickly learn how third-party software works is by reading its dockerfiles. Through them you can understand what will be exposed, what you can use and etc. Sometimes I read more YAMLs than the documentation itself and I am well served. But docs still the best source indeed. What I mean is, if you are able to read the source (root files like docker-compose.yaml, dockerfile) of the images, you have already mastered Docker.