I have followed all steps for Install using the repository.
Each step is successful until the last:
tim@Uranus:~$ sudo apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'docker-ce' has no installation candidate
tim@Uranus:~$
Searching on this error brings me to many articles on issues with 17.04, but I’m runing 16.04. How can I solve?
Hi,
I see this thread is some months old, but I faced the same problem today and came across this “unsolved” issue. Happy to say, I found the root cause - when installing Ubuntu on my VM, I had inadvertently chosen a wrong disk image (xubuntu…i386.iso) instead of xubuntu…amd64.iso.
When trying to install docker it obviously doesn’t find a matching repo for the i386 image… I suspect you had a similar issue - especially because you say when you tried on a brand new instance, it worked fine (then I guess you had the right iso image for ubuntu loaded in the new version!).
Hope this answer helps anyone running into this exact issue in the future!
osboxes@osboxes:~/Desktop/saimdir/netnoob/netnoob-dcs-ci-master$ sudo apt-get install docker-ce
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘docker-ce’ has no installation candidate