
3 min
Docker Compose Restart Does Not Apply Your New Config
If you changed docker-compose.yml and only restarted the container, Docker did exactly what you asked: it restarted the old container definition.
#Docker Compose
#Docker
#Terminal
+1

// 2 posts in this category

If you changed docker-compose.yml and only restarted the container, Docker did exactly what you asked: it restarted the old container definition.

Static proxy_pass hostnames can leave Nginx pinned to stale IPs in dynamic infrastructure. The fix is runtime DNS resolution with resolver and a …