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

boot2docker upgrade should warn if the cli is outdated #294

@proppy

Description

@proppy

It would be nice if boot2docker upgrade warned you that a new version of the cli is available and that you should update your binary.

For the 1.2->1.3 transition, if you do:

boot2docker upgrade
$(boot2docker shellinit)
# Writing /home/proppy/.docker/boot2docker-vm/ca.pem:
# Writing /home/proppy/.docker/boot2docker-vm/cert.pem:
# Writing /home/proppy/.docker/boot2docker-vm/key.pem:
#    export DOCKER_HOST=tcp://192.168.59.103:2376
#    export DOCKER_CERT_PATH=/home/proppy/.docker/boot2docker-vm
docker version

It will fails with:

$ docker version
Client version: 1.3.0
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): c78088f
OS/Arch (client): linux/amd64
2014/10/16 18:33:03 Get http://192.168.59.103:2376/v1.15/version: malformed HTTP response "\x15\x03\x01\x00\x02\x02"

Because DOCKER_TLS_VERIFY is not set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions