We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we connect to hub.docker.com? docker::registry { 'hub.docker.com': username => 'user', password => 'password' }
/Stage[main]/Main/Docker::Registry[hub.docker.com]/Exec[hub.docker.com auth]/returns: Error: Cannot perform an interactive login from a non TTY device
The text was updated successfully, but these errors were encountered:
Looked at the code : if $ensure == 'present' { if $username != undef and $password != undef and $email != undef { $auth_cmd = "${docker_command} login -u '${username}' -p "${password}" -e '${email}' ${server}" $auth_environment = "password=${password}" } elsif $username != undef and $password != undef { $auth_cmd = "${docker_command} login -u '${username}' -p "${password}" ${server}" $auth_environment = "password=${password}" }
not sure why it does not go in elsif block
Sorry, something went wrong.
Merge pull request garethr#736 from puppetlabs/pdksync_pdkupdate
ad1503d
pdksync - PDK Update - Replace Travis and Appveyor with Github Actions
No branches or pull requests
How can we connect to hub.docker.com?
docker::registry { 'hub.docker.com':
username => 'user',
password => 'password'
}
/Stage[main]/Main/Docker::Registry[hub.docker.com]/Exec[hub.docker.com auth]/returns: Error: Cannot perform an interactive login from a non TTY device
The text was updated successfully, but these errors were encountered: