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 bcf3e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ jobs:
- sudo cp odo /usr/bin
- export KUBERNETES=true
- travis_wait make test-cmd-devfile-catalog
- travis_wait make test-cmd-devfile-watch
- travis_wait make test-cmd-devfile-watch
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 bcf3e79

Please sign in to comment.