Docker Tips : about /var/run/docker.sock
When setting up a swarm cluster, by default I use Ubuntu machines (16.04 TLS). As we hear a lot about CoreOS, I wondered how a swarm can be deployed on a cluster of CoreOS hosts. Is there any reason to go CoreOS instead of Ubuntu (or other Linux distros) for “standard load” web applications ?
A couple of days ago, I sent a tweet regarding metrics exposition of the Docker daemon. As it got retweeted several times, I though this deserved additional details on how those metrics can be activated and how they can be sent to Prometheus, a great monitoring tool.