Updating boot2docker to 1.4.0 not taking

I’m trying to update docker/boot2docker using boot2docker download command but upon starting it, it is still running 1.3.2 client (docker –version)

  bash-3.2$ boot2docker download
  Latest release for boot2docker/boot2docker is v1.4.0
  Downloading boot2docker ISO image...
   Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.4.0/boot2docker.iso

Also, from the docker github OS X installer page, 1.3.2 is the only download option.

  • Running Grapevine REST server in Mono Docker container
  • Docker: An error occurred trying to connect
  • Kafka On Docker without docker-compose?
  • Dockerfile “rm -Rf” fail
  • Can't connect to MySQL docker container
  • Error accessing host port from docker container on ubuntu
  • Thanks!

  • docker's embedded dns on the default bridged network
  • Running app inside Docker as non-root user
  • Docker env variables not set while log via shell
  • Docker with both Jar and Gradle executions in it for jenkins
  • Error Accesing to container on Bluemix
  • With jwilder nginx-proxy, how to proxypass a subdirectory url to a specific container?
  • One Solution collect form web for “Updating boot2docker to 1.4.0 not taking”

    You can manually download latest Docker binary and replace the existing one. Instruction here.

    This is my shell script to install+update latest Docker on a CentOS6/RHEL:

    #!/bin/bash
    
    # YUM install docker with required dependencies
    yum -y install docker-io
    
    # Move to a temp working directory
    work_dir=$(mktemp -d)
    cd "${work_dir}"
    trap "rm -rf -- ${work_dir}" EXIT
    
    # WGET latest release of Docker
    wget https://get.docker.com/builds/Linux/x86_64/docker-latest -O docker
    chmod +x docker
    
    # Replaces Docker with latest Docker binary
    mv docker /usr/bin/docker
    
    # Start Docker service
    service docker start
    

    Depend on where your binaries are stored, it might be a different location than /usr/bin

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.