hashicorp / hashicorp/packer-plugin-docker

Docker builder: is it possible to stay logged-in once authenticated on a private registry? [ plugin credentials ]

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
enhancement track-internal
Dominant language
Go
Stars
40
Forks
29
PR merge metrics
No merged PRs in 30d

Description

_This issue was originally opened by @boblechat in https://github.com/hashicorp/packer/issues/11180 and has been migrated to this repository. The original issue description is below._

---
I have a use case where I pull a base image from a private registry where I need to log into.
Then in my build process, I tag and push the newly created image in the same private registry.

When I read the log produced, I see that packer log out automatically after pulling the image which is a bit annoying because I have to log in again in the docker-tag post-processor.

Is there a way to stay connected once authenticated?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.