From 11707fd53cd8b714e1442df914a1e160a9693ad0 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Tue, 22 Dec 2020 22:34:41 -0800 Subject: [PATCH] fix --- scripts/travis-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/travis-setup.sh b/scripts/travis-setup.sh index f335b4aafa..48b751d678 100755 --- a/scripts/travis-setup.sh +++ b/scripts/travis-setup.sh @@ -28,8 +28,7 @@ mkdir -vp ~/.docker/cli-plugins/ curl --silent -L "https://github.com/docker/buildx/releases/download/v0.3.0/buildx-v0.3.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx chmod a+x ~/.docker/cli-plugins/docker-buildx docker buildx version -# This has to be set otherwise the default driver will not work -docker buildx create --use --name build --node build --driver-opt network=host +docker buildx create --use --name build --platform=linux/amd64 docker run -d -p 5000:5000 --restart always --name registry registry:2.6.2 docker ps | grep registry