boot2docker / boot2docker-cli

boot2docker management utility
Apache License 2.0
339 stars 95 forks source link

Unclear instructions for showing env vars #378

Closed dgeske closed 6 years ago

dgeske commented 9 years ago

BUG REPORT INFORMATION

docker version

Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): darwin/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64

docker info

Containers: 0
Images: 16
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 16
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.7-boot2docker
Operating System: Boot2Docker 1.7.1 (TCL 6.3); master : c202798 - Wed Jul 15 00:16:02 UTC 2015
CPUs: 4
Total Memory: 1.955 GiB
Name: boot2docker
ID: YAPW:VW24:X2KS:MNS4:KWHT:BXB3:VPOR:TWYQ:DDEJ:BNPD:NOTG:ZWVX
Debug mode (server): true
File Descriptors: 10
Goroutines: 15
System Time: 2015-07-22T09:25:54.206628396Z
EventsListeners: 0
Init SHA1: 
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker

uname -a

Darwin upan 15.0.0 Darwin Kernel Version 15.0.0: Wed Jun 17 21:18:51 PDT 2015; root:xnu-3247.1.6.2.2~1/RELEASE_X86_64 x86_64

Running on VirtualBox via home-brew cask.

Steps to reproduce the issue:

  1. Start boot2docker boot2docker start
  2. Display the shell commands to set up the Docker client boot2docker shellinit

    Describe the results you received:

boot2docker start

Waiting for VM and Docker daemon to start...
.o
Started.
Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/key.pem
Your environment variables are already set correctly.

boot2docker shellinit

Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/dgeske/.boot2docker/certs/boot2docker-vm/key.pem
Your environment variables are already set correctly.

Describe the results you expected:

Instead of the line Your environment variables are already set correctly. I expect to see the environment variables, e.g. DOCKER_HOST.

tianon commented 6 years ago

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).