mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
mkdir .docker directory before copying the config
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
c3d8e558a2
commit
6ea24001fa
@ -51,6 +51,7 @@ for version in $DOCKER_VERSIONS; do
|
||||
docker exec "$daemon_container" sh -c "apk add --no-cache git"
|
||||
|
||||
# copy docker config from host for authentication with Docker Hub
|
||||
docker exec "$daemon_container" sh -c "mkdir /root/.docker"
|
||||
docker cp /root/.docker/config.json $daemon_container:/root/.docker/config.json
|
||||
docker exec "$daemon_container" sh -c "chmod 644 /root/.docker/config.json"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user