mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
put example addresses in actual RFC1918 range (#170)
172.1/16, 172.3/16 and 172.4/16 are not in the 172.16/12 range. https://datatracker.ietf.org/doc/html/rfc1918#section-3
This commit is contained in:
@@ -981,7 +981,7 @@ EXAMPLES = '''
|
||||
image: ubuntu:14.04
|
||||
networks:
|
||||
- name: TestingNet
|
||||
ipv4_address: "172.1.1.100"
|
||||
ipv4_address: "172.16.1.100"
|
||||
aliases:
|
||||
- sleepyzz
|
||||
links:
|
||||
@@ -999,11 +999,11 @@ EXAMPLES = '''
|
||||
name: sleepy
|
||||
networks:
|
||||
- name: TestingNet
|
||||
ipv4_address: 172.1.1.18
|
||||
ipv4_address: 172.16.1.18
|
||||
links:
|
||||
- sleeper
|
||||
- name: TestingNet2
|
||||
ipv4_address: 172.1.10.20
|
||||
ipv4_address: 172.16.10.20
|
||||
|
||||
- name: Update network with aliases
|
||||
community.docker.docker_container:
|
||||
|
||||
@@ -204,12 +204,12 @@ EXAMPLES = '''
|
||||
community.docker.docker_network:
|
||||
name: network_three
|
||||
ipam_config:
|
||||
- subnet: 172.3.27.0/24
|
||||
gateway: 172.3.27.2
|
||||
iprange: 172.3.27.0/26
|
||||
- subnet: 172.23.27.0/24
|
||||
gateway: 172.23.27.2
|
||||
iprange: 172.23.27.0/26
|
||||
aux_addresses:
|
||||
host1: 172.3.27.3
|
||||
host2: 172.3.27.4
|
||||
host1: 172.23.27.3
|
||||
host2: 172.23.27.4
|
||||
|
||||
- name: Create a network with labels
|
||||
community.docker.docker_network:
|
||||
@@ -230,7 +230,7 @@ EXAMPLES = '''
|
||||
name: network_ipv6_two
|
||||
enable_ipv6: yes
|
||||
ipam_config:
|
||||
- subnet: 172.4.27.0/24
|
||||
- subnet: 172.24.27.0/24
|
||||
- subnet: fdd1:ac8c:0557:7ce2::/64
|
||||
|
||||
- name: Delete a network, disconnecting all containers
|
||||
|
||||
Reference in New Issue
Block a user