Learn how to set up Docker host and daemon for IPv6 and how to optionally expose containers with a public IPv6 address.

In this article I will describe the steps necessary to enable IPv6 connectivity for Docker containers on an Ubuntu 18.04 host. This is based on my findings for a standalone Docker 19.03 installation on a virtual server. It should be applicable to similar setups and covers the following topics:

  • Enabling IPv6 on the Docker host
  • Enabling IPv6 in the Docker daemon
  • Accessing containers over IPv6

Enabling IPv6 on the Docker host

Enabling IPv6 on the host is obviously only necessary if it is not already working. An easy way to check this is to try to send IPv6 ping messages from and to the machine. …

Stefan Kleeschulte

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store