The disk space usage of Docker on Mac has been difficult to manage
and has confused lots of people, see
https://github.com/docker/for-mac/issues/371
This patch adds a top-level section to the Docker for Mac docs
alongside networking which explains
- where the space has gone
- how to reclaim some of it
In future I'd like to add more about why some systems use `Docker.raw`
and some `Docker.qcow2` but we're in a transitional state at the moment.
It'll be simpler to explain after the next stable version has been
released.
Signed-off-by: David Scott <dave.scott@docker.com>
* Correctly document "admin" users
* "admin" users are actually users with the "Full Control" role of the kubernetes namespace that is being edited. See conversation here: https://github.com/docker/orca/issues/13791
* fix spacing I swear I didn't change before ><
* copy directly from master
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.
* Update docker-compose run --rm doc
To make the functionality added in
24ab933ebf
explicit in the docs
* Rewrite change as an addendum
Rewrite the change to the end of the page as an addendum to the description of the inner workings of the run command.
- Modify the `docker run` command to remove the unnecessary flags "-i" and "-t".
- Add a short description for the "--rm" option.
- Remove the "docker container rm" command which seems redundant due to "--rm" option.
This will soon be obsoleted by com.docker.diagnose, but meanwhile it
is still important information.
Signed-off-by: Akim Demaille <akim.demaille@docker.com>
There's no need to document this in both Troubleshoot and FAQ. Keep
it in the FAQ. We don't need to reinstall Docker for Mac, and it's
possible to save all the data.
Signed-off-by: Akim Demaille <akim.demaille@docker.com>
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