Skip to content

Commit

Permalink
Change Docker daemon insecure registries configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti authored and lburgazzoli committed Jul 22, 2019
1 parent 53e2160 commit d471c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sudo ip link set docker0 promisc on
# Download and install the oc binary
sudo mount --make-shared /
sudo service docker stop
sudo sed -i 's/DOCKER_OPTS=\"/DOCKER_OPTS=\"--insecure-registry 172.30.0.0\/16 /' /etc/default/docker
sudo echo '{"insecure-registries": ["172.30.0.0/16"]}' | sudo tee /etc/docker/daemon.json > /dev/null
sudo service docker start
wget https://github.com/openshift/origin/releases/download/v$OPENSHIFT_VERSION/openshift-origin-client-tools-v$OPENSHIFT_VERSION-$OPENSHIFT_COMMIT-linux-64bit.tar.gz
tar xvzOf openshift-origin-client-tools-v$OPENSHIFT_VERSION-$OPENSHIFT_COMMIT-linux-64bit.tar.gz > oc.bin
Expand Down

0 comments on commit d471c10

Please sign in to comment.