-
Notifications
You must be signed in to change notification settings - Fork 314
fix(commands): issues with dockerhost/podman #2413
New issue
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
base: main
Are you sure you want to change the base?
Conversation
92020da to
038065f
Compare
|
Thanks a lot for this PR!!! The implementation for adding the new From the issue, I noticed this:
Which makes me think the error came from the image.Fetcher when we try to access the daemon, in this case. Your PR is passing through the configuration to the We need to check our |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is looking good! 🚀 but I think we still need to address the underlying error
Thanks for the detailed explanation. Will look into it and get back if I have any questions. |
0a250e3 to
995d715
Compare
c81bfeb to
10f9539
Compare
9dee00f to
ca07703
Compare
Signed-off-by: Ajay-Satish-01 <[email protected]>
…dpacks#2412) Bumps [buildpacks/github-actions](https://github.com/buildpacks/github-actions) from 5.9.1 to 5.9.2. - [Release notes](https://github.com/buildpacks/github-actions/releases) - [Commits](buildpacks/github-actions@v5.9.1...v5.9.2) --- updated-dependencies: - dependency-name: buildpacks/github-actions dependency-version: 5.9.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Ajay-Satish-01 <[email protected]>
Signed-off-by: Ajay-Satish-01 <[email protected]>
Signed-off-by: Ajay-Satish-01 <[email protected]>
Signed-off-by: Ajay-Satish-01 <[email protected]>
ca07703 to
d9e8c5c
Compare
Summary
Added
--docker-hostflag support topack builder createcommand to enable compatibility with alternative container runtimes like Podman. This flag was already available inpack buildbut was missing from builder creation, causing issues when users needed to specify custom Docker daemon endpoints.The implementation adds the
--docker-hostflag with the same functionality and description as the existing flag inpack build, allowing users to:--docker-host=inheritto inherit from theDOCKER_HOSTenvironment variableOutput
Before
After
$ pack builder create --help ... --docker-host string Address to docker daemon that will be exposed to the build container. If not set (or set to empty string) the standard socket location will be used. Special value 'inherit' may be used in which case DOCKER_HOST environment variable will be used. This option may set DOCKER_HOST environment variable for the build container if needed. ...Resolves
Fixes #2350