Skip to content

coderbarn/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker

Examples on how to build and run docker containers

General docker commands

  • 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-space



sampleDocker
sampleDockerCompose

Diagnosing problems

  1. From DockerDesktop Here
  2. 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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published