-
Docker Swarm can have multiple master nodes as well
docker swarm join-token manager
-
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)
-
Docker builder stores an insane amount of cache. Run
docker builder prune
from time to time.