Skip to content

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

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions