Page MenuHomeDevCentral

docker-registry-api.sls
No OneTemporary

docker-registry-api.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set has_selinux = salt["grains.get"]("selinux:enabled", False) %}
{% for instance, container in pillar["docker_containers"]["docker-registry-api"].items() %}
# -------------------------------------------------------------
# Container
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ instance }}:
docker_container.running:
- detach: True
- interactive: True
- image: nasqueron/docker-registry-api
- binds: /srv/{{ container["registry_instance"] }}:/var/lib/registry
- ports:
- 8000
- port_bindings:
- {{ container["app_port"] }}:8000
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 6, 08:17 (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3991957
Default Alt Text
docker-registry-api.sls (941 B)

Event Timeline