Skip to content

Commit

Permalink
Simplifying insecure registry setup.
Browse files Browse the repository at this point in the history
So you don't have to log in via SSH, run commands and log out.
  • Loading branch information
nmdguerreiro committed Jan 23, 2015
1 parent 5db7efb commit ee65afe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -185,9 +185,7 @@ insecure registry.
```console
$ boot2docker init
$ boot2docker up
$ boot2docker ssh
$ echo 'EXTRA_ARGS="--insecure-registry <YOUR INSECURE HOST>"' | sudo tee -a /var/lib/boot2docker/profile
$ sudo /etc/init.d/docker restart
$ boot2docker ssh "echo $'EXTRA_ARGS=\"--insecure-registry <YOUR INSECURE HOST>\"' | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"
```

then you should be able to do a docker push/pull.
Expand Down

0 comments on commit ee65afe

Please sign in to comment.