Page MenuHomeDevCentral

networks.sls
No OneTemporary

networks.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-09-11
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set networks = pillar['docker_networks'][grains['id']] %}
# -------------------------------------------------------------
# Bridge networks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% for network, args in networks.items() %}
docker_network_{{ network }}:
docker_network.present:
- name: {{ network }}
- driver: bridge
- subnet: {{ args['subnet'] }}
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 09:26 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2376284
Default Alt Text
networks.sls (769 B)

Event Timeline