docker-registry.pp
The snippet can be accessed without any authentication.
Authored by
Alexander Preben Roaas
Edited
docker-registry.pp 422 B
# docker-registry.pp
# This manifest installs and configures docker registry on port 5000
# Install the Docker engine on the host
include 'docker'
# Pull the Docker Registry image
docker::image { 'registry':}
# Deploy a docker registry container and expose it to port 5000
docker::run { 'regestri':
pull_on_start => true,
image => 'registry',
ports => ['5000:5000'],
expose => ['5000'],
}
Please register or sign in to comment