Examples on how to build and run docker containers
- docker system info
- docker system events
- docker system df
- docker system prune
Space is only freed when images are deleted. Space is not freed automatically when files are deleted inside running containers. To trigger a space reclamation at any point, run the command
> docker run --privileged --pid=host docker/desktop-reclaim-spacesampleDocker
sampleDockerCompose
- From DockerDesktop Here
- From CLI use the com.docker.diagnose tool probably located here: /Applications/Docker.app/Contents/MacOS/comdocker.diagnose
To create and upload diagnostics, run:
/Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload
After the diagnostics have finished, you should have the following output, containing your diagnostics ID:
Diagnostics Bundle: /tmp/B8CF8400-47B3-4068-ADA4-3BBDCE3985D9/20190726143610.zip
Diagnostics ID: B8CF8400-47B3-4068-ADA4-3BBDCE3985D9/20190726143610 (uploaded)
Diagnostics Bundle: /tmp/BE9AFAAF-F68B-41D0-9D12-84760E6B8740/20190905152051.zip
Diagnostics ID: BE9AFAAF-F68B-41D0-9D12-84760E6B8740/20190905152051 (uploaded)