Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 036a5af

Browse files
author
Ed Morley
committed
Make |boot2docker up| mention eval "$(boot2docker shellinit)"
Whilst the boot2docker docs have been updated with the improved shellinit pattern that uses eval (see boot2docker/boot2docker#786), many unofficial boot2docker articles/guides still use the old form. To increase awareness of the corrected version, it's now output at the end of |boot2docker up|. Fixes #369.
1 parent 17e0cec commit 036a5af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmds.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ func cmdUp() error {
147147
if !checkEnvironment(socket, certPath) {
148148
fmt.Printf("\nTo connect the Docker client to the Docker daemon, please set:\n")
149149
printExport(socket, certPath)
150+
fmt.Printf("\nOr run: `eval \"$(boot2docker shellinit)\"`\n")
150151
} else {
151152
fmt.Printf("Your environment variables are already set correctly.\n")
152153
}

0 commit comments

Comments
 (0)