Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 756 Bytes

docker_registry.md

File metadata and controls

37 lines (27 loc) · 756 Bytes

docker_registry

The docker_registry resource is responsible for managing the connection auth information to a Docker registry.

Actions

  • :login - Login to the Docker Registry

Properties

  • email
  • password
  • serveraddress
  • username

Examples

  • Log into or register with public registry:
docker_registry 'https://index.docker.io/v1/' do
  username 'publicme'
  password 'hope_this_is_in_encrypted_databag'
  email '[email protected]'
end

Log into private registry with optional port:

docker_registry 'my local registry' do
   serveraddress 'https://registry.computers.biz:8443/'
   username 'privateme'
   password 'still_hope_this_is_in_encrypted_databag'
   email '[email protected]'
end