Docker Upgrade from v1.11 to v1.12 using apt-get on Ubuntu 14.04.4 LTS

I was trying to upgrade docker as is suggsted in its manual

    sudo apt-get upgrade docker-engine

For some unknown reasons this will result in fetching and unpacking almost every package and library in my linux ( linux-images, lightdm, jvm,etc.). This has been going on for an hour now.

  • how to modify files in a container using a script
  • Change default instance disk size in the kubernetes-jenkins plugin
  • Is it possible to prevent RedHat/CentOS Docker host root access from within a container?
  • war-file as a part of container or shared folder when running docker
  • Difference between Docker container and service
  • Docker busybox exit immediately
  • Does anyone have any idea what is going wrong and how it can be stopped without messing up my Ubuntu installation?
    ( in case you are planning to upgrade your docker using this, just don’t. a purge an reinstall is a much better choice if you like your Ubuntu)

  • What is the Docker security risk of /var/run/docker.sock?
  • Dokku Buil Failed - Pre-receive hook declined
  • How to run docker-compose as root user Docker Cloud
  • How can I know which docker will restart after docker daemon restarts
  • Docker node development environment on windows
  • Rancher slow performance deploying new docker image
  • One Solution collect form web for “Docker Upgrade from v1.11 to v1.12 using apt-get on Ubuntu 14.04.4 LTS”

    apt-get upgrade always upgrades all the packages on your machine.

    You want

    $ apt-get update && apt-get install docker-engine -y
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.