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.

  • docker + rails + redis - rescue workers are not running
  • Is there an official Docker image for Elastic Filebeat?
  • How to get `docker run` full arguments?
  • How to move docker installation to another machine?
  • Running commands for docker container
  • Use non-virtual folder in Docker compose as volume
  • 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)

  • Lift Sails inside Docker container
  • Docker No MySQL connection to Nginx
  • Can't read user input inside the Docker using Maven plugin
  • How can I use a created volume in my container using docker compose?
  • How to retrieve the newest tag for an image?
  • In Docker, how can I share files between containers and then save them to an 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.