ソースを参照

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

Docs: Update boot2docker shellinit example to use 'eval'
(cherry picked from commit 17e03b29f9381a10f08e551f0c88899b7961664f)
Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 10 年 前
コミット
ca14ed68f7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      docs/cli.md

+ 1 - 1
docs/cli.md

@@ -155,7 +155,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