Docker: Guides and Practical Know-how | Page 11 | mironsoft Blog
Docker
-
Oct 5, 2025
Port conflicts between projects, missing HTTPS in development, and confusing hostnames are classic pain points in team Docker networking. With Traefik as a central reverse proxy, mkcert for local HTTPS certificates, and cleanly isolated Docker networks, these problems can be solved once and for all.
-
Sep 30, 2025
ARG and ENV look interchangeable at first glance, both set a named value after all. Anyone who does not know the difference in visibility, runtime behavior, and multi-stage build scoping easily ends up with images that produce unexpected values at runtime or, worse, accidentally bake credentials permanently into an image layer.
-
Sep 29, 2025
A generic blue green deployment simply swaps two container versions. For Magento that is not enough, because indexers, cache, sessions and database migrations complicate the color switch. This article shows how blue green deployments for Magento in containers are built so the traffic switch actually happens without downtime and without inconsistent data.
-
Sep 27, 2025
Magento 2 needs a precisely tuned service stack. PHP-FPM, Nginx, MariaDB, Redis, Elasticsearch or OpenSearch, and a Node container for frontend builds: each of these services has specific configuration requirements that differ in Docker from a classic server installation. Knowing these differences is what lets you build a stable and performant Magento Docker stack.
-
Sep 25, 2025
No single tool masters every aspect of a modern deployment stack. Bash as glue code connects PHP scripts, SQL dump workflows, Docker build chains and Git hooks into one coherent automation system, with robust exit code handling, targeted data forwarding and clear error escalation that surfaces problems early.
-
Sep 17, 2025
Containerized databases behave differently from classic database installations: init directories, volume persistence and health check synchronization are concepts that need to be understood before the first production container goes live. Anyone who skips these fundamentals ends up fighting data loss, race conditions and non-reproducible development environments later on.
-
Sep 17, 2025
On a local machine, Docker naturally uses the layer cache, but on ephemeral CI runners it is usually missing entirely. With --cache-from and --cache-to, the BuildKit cache can be stored externally in a registry or in the GitHub Actions cache and reused across runs and runners.
-
Sep 14, 2025
ARG and ENV almost always end up visible in the final image, even after an apparent overwrite. BuildKit's --secret and --ssh flags let you provide credentials and SSH keys only transiently during a single RUN step, without them ever landing in a layer.
-
Sep 11, 2025
docker stack deploy turns a familiar compose file into a complete, highly available Swarm stack, including networks, volumes, secrets and configs in a single rollout. Knowing the differences between local compose and stack deployment helps you avoid the most common pitfalls when moving from development to production.
-
Sep 11, 2025
Not every team uses GitLab's own Kubernetes integration. Often a plain kubectl call directly from the pipeline is enough, as long as the kubeconfig and access rights are configured cleanly and safely. This article walks through the full path from the kubeconfig variable to a verified rollout.