Skip to main content
  1. Reading List/
Sharing Network Namespaces in Docker

Sharing Network Namespaces in Docker

A guide on how to share the network namespace with another container. This is how a Pod in Kubernetes contains multiple containers. If you’re not working with Kubernetes but e.g. with Docker or docker-compose, this works in the same way pretty much.

Kubernetes does a few more things to make a Pod, I’m sure.