user3299253
user3299253

Reputation: 31

How to stop docker-ce from downgrading and keep it at version 18.03?

I've installed docker-ce on my Ubuntu 18.4.

The version after installation is 18.03 which is good but after restarting it downgrades on its own to 17.06.

Client:
 Version:      18.03.1-ce
 API version:  1.30 (downgraded from 1.37)
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Wed Jun 20 21:43:51 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      17.06.2-ce
  API version:  1.30 (minimum version 1.12)
  Go version:   go1.8.3
  Git commit:   a04f55b
  Built:        Thu Sep 21 20:36:57 2017
  OS/Arch:      linux/amd64
  Experimental: false

I need both (client and server) to stay at 18.03. Otherwise my docker images don't work.

Upvotes: 1

Views: 734

Answers (1)

István Rábel
István Rábel

Reputation: 492

Make sure you don't have another package manager messing with you. In my case another version of docker was installed with snap. Kudos to @grainednoise to figure that one out.

Upvotes: 0

Related Questions