1

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.

4

1 回答 1

0

确保您没有其他包管理器惹恼您。在我的情况下,另一个版本的 docker 安装了snap感谢@grainednoise解决这个问题。

于 2021-09-01T12:04:58.410 回答