Trying to install docker from official documentation on ubuntu and getting this error
$ sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu docker-ce-cli=18.06.1~ce~3-0~ubuntu containerd.io
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '18.06.1~ce~3-0~ubuntu' for 'docker-ce-cli' was not found
Best part is that we just installed docker on another machine yesterday and it worked then. What gives?
Only way to get rid of the error was to not install docker-ce-cli
$ sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu containerd.io
check version
$ docker version
Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:24:51 2018
 OS/Arch:           linux/amd64
 Experimental:      false
Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:23:15 2018
  OS/Arch:          linux/amd64
  Experimental:     false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With