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

Suggestion - make explicit that the env variables should be set #5

Open
ghost opened this issue Sep 19, 2016 · 0 comments
Open

Suggestion - make explicit that the env variables should be set #5

ghost opened this issue Sep 19, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2016

PDF, Page 94.

I suggest you make sure that the reader has the right environment variables set on the folder he or she is working on. Maybe something like:

Remember to set the env variables locally:

export DOCKER_HOST=tcp://10.1.2.2:2376

export DOCKER_CERT_PATH=/Users/acampos/Resources/cdk/components/rhel/rhel-ose/.vagrant/machines/default/virtualbox/docker

export DOCKER_TLS_VERIFY=1

export DOCKER_API_VERSION=1.21

You can obtain the above variables by running eval "$(vagrant service-manager env docker)" in the folder that contains the Vagrantfile file.

I'm suggesting that because sometimes I had to stop the server, or shutdown the computer, or use another folder for testing, use different tabs for different tests, etc. Then, when I came back I couldn't run the service again. The most used expression was "WTF is going on???"

Thanks.

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

No branches or pull requests

0 participants