Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 563 Bytes

docker.md

File metadata and controls

10 lines (7 loc) · 563 Bytes

Docker Cheatsheet

  1. Docker Swarm can have multiple master nodes as well

    docker swarm join-token manager
  2. When we don't use JSON notation for CMD and ENTRYPOINT arguments, the executables referenced won't receive signals from the OS correctly. This is particularly relevant when talking about how to signal to a running container that it is being shut down (i.e., a SIGTERM). (credit: https://depot.dev/blog/dockerfile-linting-issues)

  3. Docker builder stores an insane amount of cache. Run docker builder prune from time to time.