You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Docker CLI treats Dockerhub as a special case, allowing local/short names for images such as username/imagename:tag to be implicitly tagged as docker.io/username/imagename:tag when attempting a docker push. As long as the user is logged in to Dockerhub, this image will be pushed.
In the context of a Pulumi program, emulating this behavior this could result in accidentally pushing an image to Dockerhub, and it would make sense from a security perspective to disallow this default behavior.
The Docker CLI treats Dockerhub as a special case, allowing local/short names for images such as
username/imagename:tag
to be implicitly tagged asdocker.io/username/imagename:tag
when attempting adocker push
. As long as the user is logged in to Dockerhub, this image will be pushed.In the context of a Pulumi program, emulating this behavior this could result in accidentally pushing an image to Dockerhub, and it would make sense from a security perspective to disallow this default behavior.
Now that it is possible to use host auth config implicitly, we need to decide what the behavior should be instead.
The most straightforward behavior would be to require setting Dockerhub explicitly:
docker.io/username/imagename:tag
docker.io
ORindex.docker.io/v1
The text was updated successfully, but these errors were encountered: