HelmBurger
HelmBurger

Reputation: 1298

Linux Ubuntu LTS 16.04 - Docker reverts back to new version after restart

I have installed Docker engine 1.13 on my Ubuntu via this command:

sudo apt-get install docker-engine=1.13.1~cs6-0~ubuntu-xenial

But upon restarting my machine, when I sudo docker info, I see the installed docker engine as 17.06-ce.

Any idea why does it revert back to 17.06 and how can I permanently restart my machine with 1.13 docker engine?

Upvotes: 0

Views: 353

Answers (1)

Tarun Lalwani
Tarun Lalwani

Reputation: 146510

As discussed you have snap installed which was providing its own version of docker. When you uninstall docker-engine, snap docker was serving 17.06 version.

The solution is to uninstall snapd from the machine and re-install docker engine using

sudo apt-get install docker-engine=1.13.1~cs6-0~ubuntu-xenial

Upvotes: 1

Related Questions