Send auth credentials to the Docker socket if Docker config file is mounted
Author: waduhekCreated Jun 22, 2026Updated Jun 22, 2026
Labelsenhancement
Current Status
Currently, if a Docker config file were to be mounted to the peer containers to either /root/.dockercfg or /root/.docker/config.json with credentials for a private repository, fabric-peer won't send the configured credentials to the socket. This becomes an issue when the peer tries to pull the chaincode build environments (fabric-baseos, etc.) from a private repository.
Expected
If a Docker config file has been mounted to the peer, the peer should check if auth credentials are provided in the config file and send them to the socket.
Solution
No response
Please let us know if you plan to work on this.
Yes!
Source: hyperledger/fabric