What does “Service.EndpointSpec.Mode” changes on docker swarm

That is the point. Mode is an enum, it can be “vip” or “dnsrr”. As one easily guess, “vip” does not stand for Very Important Person. Why should you have the option to assign a Virtual IP or load balance the traffic by DNS Round Robin policy? I asked this question myself while developing smgoservice […]

Read More…

multi stage rocket flying

Dive into (useless?) uncovered case of multistage dockerfile

Looking at the upstream documentation of Multi-stage builds there are some examples but this is missing: Ok, I mean, the example by itself is useless, but “it works”. Try: docker build -f Dockerfile -t copiedfrom-rust:v0.1 . Then: docker run -it copiedfrom-rust:v0.1 sh Real use case scenario Lets get serious now: why? Suppose you are inside […]

Read More…