Skip to content

Commit

Permalink
Added insecure registries on xenial docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
prietyc123 committed May 6, 2020
1 parent bb83be0 commit 6ec87cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/oc-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ OPENSHIFT_CLIENT_BINARY_URL=${OPENSHIFT_CLIENT_BINARY_URL:-'https://github.com/o

sudo service docker stop

sudo sed -i -e 's/sock/sock --insecure-registry 172.30.0.0\/16/' /etc/default/docker
sudo cat /etc/default/docker
sudo sed -i -e 's/"mtu": 1460/"mtu": 1460, "insecure-registries": ["172.30.0.0\/16"]/' /etc/docker/daemon.json
sudo cat /etc/docker/daemon.json

sudo service docker start
sudo service docker status
Expand Down

0 comments on commit 6ec87cf

Please sign in to comment.