[PATCH v2] erofs-utils: lib: oci: support reading credentials from docker config

Gao Xiang xiang at kernel.org
Thu Feb 12 12:27:23 AEDT 2026


Hi Chengyu,

On Tue, Feb 10, 2026 at 05:37:26PM +0800, ChengyuZhu6 wrote:
> From: Chengyu Zhu <hudsonzhu at tencent.com>
> 
> This patch adds support for reading authentication credentials from
> Docker's `config.json` (typically in `~/.docker/config.json` or via
> `DOCKER_CONFIG`).
> 
> If no username/password is provided via command-line arguments, the
> implementation will attempt to look up the registry in the docker config
> file and use the stored credentials if found.
> 
> Signed-off-by: Chengyu Zhu <hudsonzhu at tencent.com>

I cannot apply this patch, which commit is this commit based on?

Could you try to base on the latest -experimental or -dev commit?

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list