forked from github-mirror/docker-nixpkgs
fix docker-login when ~/.docker exists
This commit is contained in:
@@ -14,7 +14,7 @@ if [[ $registry = *docker.io ]]; then
|
|||||||
registry=https://index.docker.io/v2/
|
registry=https://index.docker.io/v2/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir ~/.docker
|
mkdir -p ~/.docker
|
||||||
|
|
||||||
cat <<DOCKER_CONF > ~/.docker/config.json
|
cat <<DOCKER_CONF > ~/.docker/config.json
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user