Configure container DNS in user-defined networks

Embedded DNS server in user-defined networks The information in this section covers the embedded DNS server operation for containers in user-defined networks. DNS lookup for containers connected to user-defined networks works differently compared to the containers connected to default bridge network. Note: In order to maintain backward compatibility, the DNS configuration in default bridge network is retained with no behavioral change. Please refer to the DNS in default bridge network for more

Get started with multi-host networking

Get started with multi-host networking This article uses an example to explain the basics of creating a multi-host network. Docker Engine supports multi-host networking out-of-the-box through the overlay network driver. Unlike bridge networks, overlay networks require some pre-existing conditions before you can create one. These conditions are: Access to a key-value store. Docker supports Consul, Etcd, and ZooKeeper (Distributed store) key-value stores. A cluster of hosts with connectivity to t

IPv6 with Docker

IPv6 with Docker The information in this section explains IPv6 with the Docker default bridge. This is a bridge network named bridge created automatically when you install Docker. As we are running out of IPv4 addresses the IETF has standardized an IPv4 successor, Internet Protocol Version 6 , in RFC 2460. Both protocols, IPv4 and IPv6, reside on layer 3 of the OSI model. How IPv6 works on Docker By default, the Docker server configures the container network for IPv4 only. You can enable IPv4/I

Manage keys for content trust

Manage keys for content trust Trust for an image tag is managed through the use of keys. Docker’s content trust makes use of five different types of keys: Key Description root key Root of content trust for an image tag. When content trust is enabled, you create the root key once. Also known as the offline key, because it should be kept offline. targets This key allows you to sign image tags, to manage delegations including delegated keys or permitted delegation paths. Also known as the reposito

Dockerizing a Couchbase service

Dockerizing a Couchbase service This example shows how to start a Couchbase server using Docker Compose, configure it using its REST API, and query it. Couchbase is an open source, document-oriented NoSQL database for modern web, mobile, and IoT applications. It is designed for ease of development and Internet-scale performance. Start Couchbase server Couchbase Docker images are published at Docker Hub. Start Couchbase server as: docker run -d --name db -p 8091-8093:8091-8093 -p 11210:11210 cou

Installation on Windows

Windows Note: This release of Docker deprecates the Boot2Docker command line in favor of Docker Machine. Use the Docker Toolbox to install Docker Machine as well as the other Docker tools. You install Docker using Docker Toolbox. Docker Toolbox includes the following Docker tools: Docker Machine for running the docker-machine binary Docker Engine for running the docker binary Kitematic, the Docker GUI a shell preconfigured for a Docker command-line environment Oracle VM VirtualBox Because t

How to get Swarm

How to get Docker Swarm You can create a Docker Swarm cluster using the swarm executable image from a container or using an executable swarm binary you install on your system. This page introduces the two methods and discusses their pros and cons. Create a cluster with an interactive container You can use the Docker Swarm official image to create a cluster. The image is built by Docker and updated regularly through an automated build. To use the image, you run it a container via the Engine dock

docker wait

wait Usage: docker wait [OPTIONS] CONTAINER [CONTAINER...] Block until a container stops, then print its exit code. --help Print usage

Get started with a local VM

Get started with Docker Machine and a local VM Let’s take a look at using docker-machine for creating, using, and managing a Docker host inside of VirtualBox. Prerequisites Make sure you have the latest VirtualBox correctly installed on your system. If you used Toolbox for Mac or Windows to install Docker Machine, VirtualBox is automatically installed. If you used the Quickstart Terminal to launch your first machine and set your terminal environment to point to it, a default machine was automat

Installation on Fedora

Fedora Docker is supported on Fedora version 22 and 23. This page instructs you to install using Docker-managed release packages and installation mechanisms. Using these packages ensures you get the latest release of Docker. If you wish to install using Fedora-managed packages, consult your Fedora release documentation for information on Fedora’s Docker support. Prerequisites Docker requires a 64-bit installation regardless of your Fedora version. Also, your kernel must be 3.10 at minimum. To c