Browse Source

Merge pull request #1533 from edmorley/update-b2d-shellinit-example

Docs: Update boot2docker shellinit example to use 'eval'
Aanand Prasad 10 years ago
parent
commit
17e03b29f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/cli.md

+ 1 - 1
docs/cli.md

@@ -157,7 +157,7 @@ By default, if there are existing containers for a service, `docker-compose up`
 Several environment variables are available for you to configure Compose's behaviour.
 
 Variables starting with `DOCKER_` are the same as those used to configure the
-Docker command-line client. If you're using boot2docker, `$(boot2docker shellinit)`
+Docker command-line client. If you're using boot2docker, `eval "$(boot2docker shellinit)"`
 will set them to their correct values.
 
 ### COMPOSE\_PROJECT\_NAME