As this is an introductory document, using short options
and relying on default behaviors without explanation
may cause some confusion.
This change it explicit how the --tag option is being used.
It also uses an equal sign to visually group the option and its value,
so that the . at the end of the command doesn't go unnoticed.
Fixed a typographical error on line 246 - " we just map port 80 on the host to port 80 in the container" should be " we just map port 4000 on the host to port 80 in the container"
In the docker-compose file, the ports sections maps host port 4000 to container port 80, so if we want to see our app in a browser we should check on port 4000.
Proxy settings titles was placed in the DNS misconfiguration part, and the DNS settings title was placed in the proxy configuration part. This changes moves the places of the titles so that they both present the section they intend to.
The host port was set to 80, which was both inconsistent with the previous tutorial and also causing issues when following the tutorial on Windows.
For reference, here is the error when attempting to run a container on port 80:
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint focused_euler (079893ea98df78bf7043f86072263317be106cbb7f4a3fcde23c2ef19ad39a01): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error Permission denied.
ERRO[0000] error waiting for container: context canceled
* Add a note for the DNS settings
Reason: a lot of people struggle against problems with the DNS configuration when they try to build their first app.
* Merge DNS and proxy notes