diff options
author | Ed Morley <emorley@mozilla.com> | 2015-06-10 14:30:41 +0100 |
---|---|---|
committer | Ed Morley <emorley@mozilla.com> | 2015-06-10 14:32:49 +0100 |
commit | 9a5b7b2959d8b3df39edcb02e0e01a4d346af9aa (patch) | |
tree | de1bfaf634b515698ad079a16920f9a1a866e612 | |
parent | be73aaf5401faf5ca64911fb6664036c7b7ec61b (diff) | |
download | docker-py-9a5b7b2959d8b3df39edcb02e0e01a4d346af9aa.tar.gz |
Docs: Update boot2docker shellinit example to use 'eval'
The boot2docker documentation has since changed the recommended way to
use shellinit - see boot2docker/boot2docker#786. The command also no
longer prints the export lines to the console, so have updated the
example output.
-rw-r--r-- | docs/boot2docker.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/boot2docker.md b/docs/boot2docker.md index cb83b45..43aa558 100644 --- a/docs/boot2docker.md +++ b/docs/boot2docker.md @@ -4,13 +4,10 @@ For usage with boot2docker, there is a helper function in the utils package name First run boot2docker in your shell: ```bash -$ $(boot2docker shellinit) +$ eval "$(boot2docker shellinit)" Writing /Users/you/.boot2docker/certs/boot2docker-vm/ca.pem Writing /Users/you/.boot2docker/certs/boot2docker-vm/cert.pem Writing /Users/you/.boot2docker/certs/boot2docker-vm/key.pem -export DOCKER_HOST=tcp://192.168.59.103:2376 -export DOCKER_CERT_PATH=/Users/you/.boot2docker/certs/boot2docker-vm -export DOCKER_TLS_VERIFY=1 ``` You can then instantiate `docker.Client` like this: |