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
I Would like to expose the --username and --password option to buildctl build so that we can call the build without the credentials getting stored in ~/.docker/config.json.
Checking if this is something we can add as an enhancement to buildctl to be able to use buildctl directly in clients.
The text was updated successfully, but these errors were encountered:
I Would like to expose the --username and --password option to buildctl build so that we can call the build without the credentials getting stored in ~/.docker/config.json.
This is even worse because it leaks the password in ps.
Probably the options should be passed via an FD?
Or just set DOCKER_CONFIG to be a tmp dir
Buildkit isn't just talking to one registry like ctr image pull. Would at least need credentials per host. And indeed, static passwords in args is worse than files/env as source.
As akahiro said, i like the idea of passing it as file descriptor and along with an option to pass it in as a path file
--config fd:<> / file:<>. i will try out a PoC and see if that works.
Description
Hi,
I Would like to expose the --username and --password option to buildctl build so that we can call the build without the credentials getting stored in ~/.docker/config.json.
Checking if this is something we can add as an enhancement to buildctl to be able to use buildctl directly in clients.
The text was updated successfully, but these errors were encountered: