Sha256: 9cccf816da337aa3f2d62b7623f53982555be5872d5f07f087ac4de8f3c4b79c
Contents?: true
Size: 510 Bytes
Versions: 22
Compression:
Stored size: 510 Bytes
Contents
docker_registry_config = "/etc/registry/config.yml" if system.runs_service?("registry") && system.has_file?(docker_registry_config) identify "docker-registry", "registry" used_port = /.*:(\d\d\d\d+)/.match(system.read_config(docker_registry_config, "addr")). to_a.fetch(1, nil) port = "#{used_port}:5000" parameter "ports", [port] parameter "links", ["web"] cert = system.read_config(docker_registry_config, "rootcertbundle") extract docker_registry_config, "data" extract cert, "data" end
Version data entries
22 entries across 22 versions & 1 rubygems