Skip to content

Commit 5cf3677

Browse files
Dave Trymihaibuzgau
authored andcommitted
adding in example for docker store
1 parent 49ecb74 commit 5cf3677

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,15 @@ docker::registry { 'example.docker.io:5000':
720720
}
721721
```
722722

723+
To pull images from the docker store, use the following as the registry definition with your own docker hub credentials
724+
725+
```puppet
726+
docker::registry {'https://index.docker.io/v1/':
727+
username => 'username',
728+
password => 'password',
729+
}
730+
```
731+
723732
If using hiera, configure the `docker::registry_auth` class:
724733

725734
```yaml

0 commit comments

Comments
 (0)