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.

  • Nginx docker container returning corrupt JSON file, renamed file
  • Install Docker on Jenkins on OSX
  • Committing container changes of files generated in /workspace (even using makefile) doesn't persist into new instances of the image
  • Docker, referencing a differnet container. Call mysqldump using php command
  • Allow web server to edit files inside a docker container
  • Unable to connect to docker on Anyconnect VPN
  • Thanks!

  • 'su' command in Docker returns 'must be run from terminal'
  • How do I give an own ip address to docker for Windows container?
  • Automate creation of a VM with Docker containers running inside
  • docker-compose up with multiple yml confs does not start off
  • Unable to connect to published Docker port on OS X
  • “debconf: delaying package configuration, since apt-utils is not installed” :> google notebooks bash error
  • 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.