Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 463 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 463 Bytes

Docker Network role

Configures a Docker network.

Usage

Configure the role.

docker_network_name: example.com
docker_network_driver: overlay # defaults: bridge
docker_network_subnet: 172.18.0.0/24

And include it in your playbook.

- hosts: docker_network
  roles:
  - role: docker_network

Docs

IP tables

The docker-proxy ceates NAT routes in the ip tables. To list them run:

sudo iptables -t nat -L DOCKER -n -v