# 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'], }