Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow eval call to set env variables #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmahowald
Copy link

One small change and it's easy to have a more docker style setup for setting environment variables).

And thank you thank you thank you for making this. My previous workflow was untenable when using any connect

@@ -1,4 +1,4 @@
# docker-vpn-helper
s# docker-vpn-helper
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's an extra char here

@onejli
Copy link
Owner

onejli commented Mar 29, 2016

@jmahowald Sorry for the delay...it looks like I screwed up my GH notification options at some point in time.

@@ -156,6 +156,9 @@ export DOCKER_CERT_PATH=/Users/jonathan.li/.docker/machine/machines/default
export DOCKER_MACHINE_NAME=default
```


You can rerun with eval $(docker-vpn-helper) to set your environment variables
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might make more sense to:

  1. insert this between the existing steps 3 and 4
  2. update the existing step 4 to note that the explicit exports are not required if you re-ran the script with eval $(./docker-vpn-helper)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants