{"@attributes":{"version":"2.0"},"channel":{"title":"Docker 101","link":"https:\/\/docker101.com\/","description":"Recent content on Docker 101","generator":"Hugo","language":"en-us","lastBuildDate":"Sat, 04 Apr 2026 00:00:00 +0000","item":[{"title":"Docker Networking Basics: Bridge, Host, and Overlay","link":"https:\/\/docker101.com\/posts\/docker-networking-basics-bridge-host-and-overlay\/","pubDate":"Sat, 04 Apr 2026 00:00:00 +0000","guid":"https:\/\/docker101.com\/posts\/docker-networking-basics-bridge-host-and-overlay\/","description":"<p>Most people learn Docker by writing a Dockerfile, running <code>docker build<\/code>, and calling it a day. Networking gets ignored until something breaks \u2013 a container can&rsquo;t reach another container, or a service isn&rsquo;t accessible from the host. Then you&rsquo;re pasting error messages into ChatGPT at 11 PM trying to figure out why <code>localhost<\/code> doesn&rsquo;t mean what you think it means inside a container.<\/p>\n<p>Docker ships with three network drivers that cover the vast majority of use cases: <strong>bridge<\/strong>, <strong>host<\/strong>, and <strong>overlay<\/strong>. Each solves a different problem, and picking the wrong one usually means you&rsquo;re fighting Docker instead of using it.<\/p>"},{"title":"Docker Example - Serving a Static Website using NGINX","link":"https:\/\/docker101.com\/posts\/docker-nginx-example-serving-a-static-website\/","pubDate":"Fri, 09 Sep 2022 19:19:35 +0200","guid":"https:\/\/docker101.com\/posts\/docker-nginx-example-serving-a-static-website\/","description":"<p><img src=\"brendan-church-pKeF6Tt3c08-unsplash.jpg\" alt=\"Image alt\"><\/p>\n<p><a href=\"https:\/\/www.nginx.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">NGINX<\/a>\n, being lightweight and free to use, is a popular choice as a web application load\nbalancer and reverse proxy. However, like any tooling in the toolbelt of a DevOps engineer, it works best when\ndockerized (packaged and run inside a Docker container).<\/p>\n<p>In this tutorial, we\u2019ll take a look at a simple example of how to serve a static HTML site through a Docker container\nthat runs NGINX.<\/p>"},{"title":"Differences between Docker and Vagrant ","link":"https:\/\/docker101.com\/posts\/docker-vs-vagrant\/","pubDate":"Thu, 01 Apr 2021 19:11:14 +0200","guid":"https:\/\/docker101.com\/posts\/docker-vs-vagrant\/","description":"<p><img src=\"docker-vagrant.jpg\" alt=\"Image alt\"><\/p>\n<p>Docker and Vagrant are two very popular tools in the development community, and as such \u2013 they face a lot of criticism\nand praise at the same time. But, is there a practical difference between using one over the other? Let\u2019s find out by\ndigging deeper.<\/p>\n<p>A common misconception is that Docker is the successor of Vagrant (a \u201cnewer or better version of Vagrant\u201d) and that the\ntwo tools are competing. This may be true in some contexts where both tools are used purely to set up a quick <a href=\"https:\/\/docker101.com\/posts\/creating-a-local-wordpress-development-environment-using-docker-compose\/\">local development environment<\/a>\n. However, with a deeper look, we start to see significant differences when applying one or the\nother.<\/p>"},{"title":"Creating a local WordPress development environment using Docker Compose","link":"https:\/\/docker101.com\/posts\/creating-a-local-wordpress-development-environment-using-docker-compose\/","pubDate":"Wed, 02 Sep 2020 19:02:26 +0200","guid":"https:\/\/docker101.com\/posts\/creating-a-local-wordpress-development-environment-using-docker-compose\/","description":"<p><img src=\"docker-wordpress.png\" alt=\"Image alt\"><\/p>\n<p>WordPress is great for quickly getting new projects off the ground \u2013 be it a marketing website, a membership portal or\nan eCommerce platform (see WooCommerce). It has a fairly low entry barrier for development, considering the\nwell-established plugin and theming system.<\/p>\n<p>However, trying to run WordPress locally in order to creating something new (e.g. a theme or a plugin) can be a bit\ntricky, considering its requirements \u2013 PHP, MySQL, Linux-like file system.<\/p>"},{"title":"Dockerfile - Best Practices","link":"https:\/\/docker101.com\/posts\/dockerfile-best-practices\/","pubDate":"Sat, 01 Feb 2020 18:38:37 +0200","guid":"https:\/\/docker101.com\/posts\/dockerfile-best-practices\/","description":"<p><img src=\"Selection_043.png\" alt=\"Image alt\"><\/p>\n<p>One of the great benefits of using Docker as a containerization engine is that it\u2019s thin and lightweight, leading to\nless overhead and overall better performance for your applications that traditional non-containerized ones (where\ndependencies from one part of the application could lead to bottlenecks in another part of the application, hosted on\nthe same machine).<\/p>\n<p>Another advantage that comes from the usage of Dockerfiles that are part of Docker is the fact that you have repeatable\n\u201crecipes\u201d that you can use to deploy an identical replica of the application everywhere (local environment, staging,\nproduction).<\/p>"},{"title":"Creating a Docker Swarm Cluster on Digitalocean","link":"https:\/\/docker101.com\/posts\/creating-a-docker-swarm-cluster-on-digitalocean\/","pubDate":"Sun, 15 Sep 2019 14:23:42 +0200","guid":"https:\/\/docker101.com\/posts\/creating-a-docker-swarm-cluster-on-digitalocean\/","description":"How to easily deploy multiple servers on DigitalOcean, participating in a Swarm cluster"}]}}