mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
Align the credentials use_api_socket gives a service with what `docker run --use-api-socket` does in the Docker CLI: - the config file is created with mode 0600 instead of the 0444 default of a config file, so that only the container's root reads it; - a service which sets DOCKER_CONFIG itself gets the socket but no credentials, as the comment of the function always said; - nothing is injected, and DOCKER_CONFIG is not set, when the host has no registry credentials, and they are not looked up when no service is to get them. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| compose.yaml | ||