Tag: Docker 101

  • Docker 101: Microservices Architecture with Docker Networking

    Microservices Architecture with Docker Networking (微服务架构与 Docker 网络) Introduction / 介绍 Microservices architecture involves breaking down an application into smaller, independent services that can be developed, deployed, and scaled independently. Each service typically runs in its own container and communicates with other services over a network. Docker networking allows these…

  • Docker 101: Understanding the `localhost` Issue in Docker Containers

    Understanding the localhost Issue in Docker Containers Context English: When running multiple services in Docker containers, it’s common to have them communicate with each other over a network. However, a common pitfall occurs when using localhost to reference services, which can lead to connectivity issues between containers. Chinese: 在 Docker…

  • Docker 101: Understand Dockerfile and Docker Compose

    Understand Dockerfile, Docker Compose "Docker Compose in 12 Minutes" A quick overview of Docker Compose, covering how to use it to run multi-container applications. Watch it here: Docker Compose in 12 Minutes "Docker Compose and Multi-Container Applications!" An in-depth look at managing multi-container applications with Docker Compose. Watch it here:…

  • Docker 101: `–restart` Option in Docker

    Detailed Explanation of the –restart Option in Docker The –restart option in Docker allows you to specify a policy that determines whether and under what circumstances a Docker container should be restarted. This option is particularly useful for ensuring the resilience and reliability of services running in containers, as it…