“Package 'docker-ce' has no installation candidate” in 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
29
down vote

favorite
1












I'm following the official Docker installation guide for docker-ce on Ubuntu.



When I get to sudo apt install docker-ce I get E: Package 'docker-ce' has no installation candidate:



$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ sudo apt-get install
> apt-transport-https
> ca-certificates
> curl
> software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3).
software-properties-common is already the newest version (0.96.24.32.1).
The following NEW packages will be installed
apt-transport-https
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,692 B of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 apt-transport-https all 1.6.1 [1,692 B]
Fetched 1,692 B in 0s (65.4 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 116694 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.1_all.deb ...
Unpacking apt-transport-https (1.6.1) ...
Setting up apt-transport-https (1.6.1) ...

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK

$ sudo apt-key fingerprint 0EBFCD88
pub rsa4096 2017-02-22 [SCEA]
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid [ unknown] Docker Release (CE deb) <docker@docker.com>
sub rsa4096 2017-02-22 [S]

$ sudo add-apt-repository
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu
> $(lsb_release -cs)
> stable"
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 64.4 kB in 0s (141 kB/s)
Reading package lists... Done

robin@xps:~/git/snapcraft.io$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ 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


My first thought was that Docker haven't released a package for Bionic yet (it's very new) but when I searched for "install docker-ce ubuntu 18.04" I found a guide which seems 18.04 specific, and basically just gives exactly the same instructions - suggesting that it at least worked for the author:



https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver



Does anyone have any idea why this might not be working for me?







share|improve this question




















  • See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
    – nealmcb
    Jun 22 at 15:00















up vote
29
down vote

favorite
1












I'm following the official Docker installation guide for docker-ce on Ubuntu.



When I get to sudo apt install docker-ce I get E: Package 'docker-ce' has no installation candidate:



$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ sudo apt-get install
> apt-transport-https
> ca-certificates
> curl
> software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3).
software-properties-common is already the newest version (0.96.24.32.1).
The following NEW packages will be installed
apt-transport-https
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,692 B of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 apt-transport-https all 1.6.1 [1,692 B]
Fetched 1,692 B in 0s (65.4 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 116694 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.1_all.deb ...
Unpacking apt-transport-https (1.6.1) ...
Setting up apt-transport-https (1.6.1) ...

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK

$ sudo apt-key fingerprint 0EBFCD88
pub rsa4096 2017-02-22 [SCEA]
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid [ unknown] Docker Release (CE deb) <docker@docker.com>
sub rsa4096 2017-02-22 [S]

$ sudo add-apt-repository
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu
> $(lsb_release -cs)
> stable"
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 64.4 kB in 0s (141 kB/s)
Reading package lists... Done

robin@xps:~/git/snapcraft.io$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ 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


My first thought was that Docker haven't released a package for Bionic yet (it's very new) but when I searched for "install docker-ce ubuntu 18.04" I found a guide which seems 18.04 specific, and basically just gives exactly the same instructions - suggesting that it at least worked for the author:



https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver



Does anyone have any idea why this might not be working for me?







share|improve this question




















  • See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
    – nealmcb
    Jun 22 at 15:00













up vote
29
down vote

favorite
1









up vote
29
down vote

favorite
1






1





I'm following the official Docker installation guide for docker-ce on Ubuntu.



When I get to sudo apt install docker-ce I get E: Package 'docker-ce' has no installation candidate:



$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ sudo apt-get install
> apt-transport-https
> ca-certificates
> curl
> software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3).
software-properties-common is already the newest version (0.96.24.32.1).
The following NEW packages will be installed
apt-transport-https
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,692 B of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 apt-transport-https all 1.6.1 [1,692 B]
Fetched 1,692 B in 0s (65.4 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 116694 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.1_all.deb ...
Unpacking apt-transport-https (1.6.1) ...
Setting up apt-transport-https (1.6.1) ...

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK

$ sudo apt-key fingerprint 0EBFCD88
pub rsa4096 2017-02-22 [SCEA]
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid [ unknown] Docker Release (CE deb) <docker@docker.com>
sub rsa4096 2017-02-22 [S]

$ sudo add-apt-repository
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu
> $(lsb_release -cs)
> stable"
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 64.4 kB in 0s (141 kB/s)
Reading package lists... Done

robin@xps:~/git/snapcraft.io$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ 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


My first thought was that Docker haven't released a package for Bionic yet (it's very new) but when I searched for "install docker-ce ubuntu 18.04" I found a guide which seems 18.04 specific, and basically just gives exactly the same instructions - suggesting that it at least worked for the author:



https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver



Does anyone have any idea why this might not be working for me?







share|improve this question












I'm following the official Docker installation guide for docker-ce on Ubuntu.



When I get to sudo apt install docker-ce I get E: Package 'docker-ce' has no installation candidate:



$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ sudo apt-get install
> apt-transport-https
> ca-certificates
> curl
> software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3).
software-properties-common is already the newest version (0.96.24.32.1).
The following NEW packages will be installed
apt-transport-https
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,692 B of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 apt-transport-https all 1.6.1 [1,692 B]
Fetched 1,692 B in 0s (65.4 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 116694 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.1_all.deb ...
Unpacking apt-transport-https (1.6.1) ...
Setting up apt-transport-https (1.6.1) ...

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK

$ sudo apt-key fingerprint 0EBFCD88
pub rsa4096 2017-02-22 [SCEA]
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid [ unknown] Docker Release (CE deb) <docker@docker.com>
sub rsa4096 2017-02-22 [S]

$ sudo add-apt-repository
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu
> $(lsb_release -cs)
> stable"
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 64.4 kB in 0s (141 kB/s)
Reading package lists... Done

robin@xps:~/git/snapcraft.io$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

$ 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


My first thought was that Docker haven't released a package for Bionic yet (it's very new) but when I searched for "install docker-ce ubuntu 18.04" I found a guide which seems 18.04 specific, and basically just gives exactly the same instructions - suggesting that it at least worked for the author:



https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver



Does anyone have any idea why this might not be working for me?









share|improve this question











share|improve this question




share|improve this question










asked Apr 30 at 15:22









Robin Winslow

88121018




88121018











  • See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
    – nealmcb
    Jun 22 at 15:00

















  • See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
    – nealmcb
    Jun 22 at 15:00
















See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
– nealmcb
Jun 22 at 15:00





See also your other options: a snap from Docker Inc, or a more-recent standard Ubuntu package in docker.io: askubuntu: Docker-CE or docker.io package
– nealmcb
Jun 22 at 15:00











3 Answers
3






active

oldest

votes

















up vote
32
down vote



accepted










From the same guide you referenced, you can use repository for 17.10 instead at this moment:



deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable


And all docker-ce dependent packages will be resolved from the ubuntu bionic repository. No compatibility issues to worry about :)



2018-07-19 update



Docker 18.06 has been updated to bionic repository, this workaround is not required anymore!






share|improve this answer


















  • 1




    Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
    – R J
    Jun 4 at 12:58











  • @RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
    – NZD
    Jun 7 at 3:36










  • github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:30










  • I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
    – PetarP
    Jun 13 at 12:47










  • FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
    – Juha Untinen
    Aug 27 at 12:55

















up vote
8
down vote













Some of the guides jumped the gun; docker-ce is not available for Ubuntu 18.04 yet. You can check the list of supported versions here.



That same guide you linked to suggested installing docker.io; this is what I did. It's a workaround until docker-ce supports 18.04.






share|improve this answer
















  • 1




    From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
    – tan9
    Apr 30 at 16:28










  • @tan9 that should be the accepted answer - could you post it as an answer?
    – Robin Winslow
    May 3 at 9:42










  • I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
    – R J
    Jun 4 at 13:01

















up vote
3
down vote













Following the steps here in the Docker documentation worked for me. I just had to change stable to test in this command



sudo add-apt-repository 
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"





share|improve this answer






















  • why did you have to do that? What version are you using? Could you add the complete steps you used?
    – Zanna
    May 9 at 10:58










  • This does not work for Ubuntu 18.04, which is what the question was about.
    – R J
    Jun 4 at 12:57










  • it work absolutely fine for me
    – xExplorer
    Jun 5 at 7:18










  • @Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:31










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030179%2fpackage-docker-ce-has-no-installation-candidate-in-18-04%23new-answer', 'question_page');

);

Post as a guest






























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
32
down vote



accepted










From the same guide you referenced, you can use repository for 17.10 instead at this moment:



deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable


And all docker-ce dependent packages will be resolved from the ubuntu bionic repository. No compatibility issues to worry about :)



2018-07-19 update



Docker 18.06 has been updated to bionic repository, this workaround is not required anymore!






share|improve this answer


















  • 1




    Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
    – R J
    Jun 4 at 12:58











  • @RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
    – NZD
    Jun 7 at 3:36










  • github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:30










  • I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
    – PetarP
    Jun 13 at 12:47










  • FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
    – Juha Untinen
    Aug 27 at 12:55














up vote
32
down vote



accepted










From the same guide you referenced, you can use repository for 17.10 instead at this moment:



deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable


And all docker-ce dependent packages will be resolved from the ubuntu bionic repository. No compatibility issues to worry about :)



2018-07-19 update



Docker 18.06 has been updated to bionic repository, this workaround is not required anymore!






share|improve this answer


















  • 1




    Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
    – R J
    Jun 4 at 12:58











  • @RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
    – NZD
    Jun 7 at 3:36










  • github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:30










  • I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
    – PetarP
    Jun 13 at 12:47










  • FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
    – Juha Untinen
    Aug 27 at 12:55












up vote
32
down vote



accepted







up vote
32
down vote



accepted






From the same guide you referenced, you can use repository for 17.10 instead at this moment:



deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable


And all docker-ce dependent packages will be resolved from the ubuntu bionic repository. No compatibility issues to worry about :)



2018-07-19 update



Docker 18.06 has been updated to bionic repository, this workaround is not required anymore!






share|improve this answer














From the same guide you referenced, you can use repository for 17.10 instead at this moment:



deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable


And all docker-ce dependent packages will be resolved from the ubuntu bionic repository. No compatibility issues to worry about :)



2018-07-19 update



Docker 18.06 has been updated to bionic repository, this workaround is not required anymore!







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 19 at 4:05

























answered May 3 at 9:48









tan9

43635




43635







  • 1




    Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
    – R J
    Jun 4 at 12:58











  • @RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
    – NZD
    Jun 7 at 3:36










  • github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:30










  • I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
    – PetarP
    Jun 13 at 12:47










  • FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
    – Juha Untinen
    Aug 27 at 12:55












  • 1




    Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
    – R J
    Jun 4 at 12:58











  • @RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
    – NZD
    Jun 7 at 3:36










  • github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:30










  • I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
    – PetarP
    Jun 13 at 12:47










  • FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
    – Juha Untinen
    Aug 27 at 12:55







1




1




Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
– R J
Jun 4 at 12:58





Still does not work on 18.04. I still get E: Package 'docker-ce' has no installation candidate
– R J
Jun 4 at 12:58













@RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
– NZD
Jun 7 at 3:36




@RJ It does work for me on 18.04. It is now a few days later; maybe there have been a few updates to the repositories. I noticed that some of the packages were downloaded from bionic and other ones from artful.
– NZD
Jun 7 at 3:36












github.com/docker/for-linux/issues/290#issuecomment-393605253
– mafrosis
Jun 8 at 22:30




github.com/docker/for-linux/issues/290#issuecomment-393605253
– mafrosis
Jun 8 at 22:30












I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
– PetarP
Jun 13 at 12:47




I can confirm that this is working, just installed it on 18.04 ➜ ~ docker -v Docker version 18.03.1-ce, build 9ee9f40
– PetarP
Jun 13 at 12:47












FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
– Juha Untinen
Aug 27 at 12:55




FYI, since June 21, it can be installed with: curl -fsSL get.docker.com | CHANNEL=stable sh
– Juha Untinen
Aug 27 at 12:55












up vote
8
down vote













Some of the guides jumped the gun; docker-ce is not available for Ubuntu 18.04 yet. You can check the list of supported versions here.



That same guide you linked to suggested installing docker.io; this is what I did. It's a workaround until docker-ce supports 18.04.






share|improve this answer
















  • 1




    From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
    – tan9
    Apr 30 at 16:28










  • @tan9 that should be the accepted answer - could you post it as an answer?
    – Robin Winslow
    May 3 at 9:42










  • I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
    – R J
    Jun 4 at 13:01














up vote
8
down vote













Some of the guides jumped the gun; docker-ce is not available for Ubuntu 18.04 yet. You can check the list of supported versions here.



That same guide you linked to suggested installing docker.io; this is what I did. It's a workaround until docker-ce supports 18.04.






share|improve this answer
















  • 1




    From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
    – tan9
    Apr 30 at 16:28










  • @tan9 that should be the accepted answer - could you post it as an answer?
    – Robin Winslow
    May 3 at 9:42










  • I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
    – R J
    Jun 4 at 13:01












up vote
8
down vote










up vote
8
down vote









Some of the guides jumped the gun; docker-ce is not available for Ubuntu 18.04 yet. You can check the list of supported versions here.



That same guide you linked to suggested installing docker.io; this is what I did. It's a workaround until docker-ce supports 18.04.






share|improve this answer












Some of the guides jumped the gun; docker-ce is not available for Ubuntu 18.04 yet. You can check the list of supported versions here.



That same guide you linked to suggested installing docker.io; this is what I did. It's a workaround until docker-ce supports 18.04.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 30 at 16:11









ajh158

1812




1812







  • 1




    From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
    – tan9
    Apr 30 at 16:28










  • @tan9 that should be the accepted answer - could you post it as an answer?
    – Robin Winslow
    May 3 at 9:42










  • I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
    – R J
    Jun 4 at 13:01












  • 1




    From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
    – tan9
    Apr 30 at 16:28










  • @tan9 that should be the accepted answer - could you post it as an answer?
    – Robin Winslow
    May 3 at 9:42










  • I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
    – R J
    Jun 4 at 13:01







1




1




From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
– tan9
Apr 30 at 16:28




From the same guide, you can use repository for 17.10 instead at this moment: deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
– tan9
Apr 30 at 16:28












@tan9 that should be the accepted answer - could you post it as an answer?
– Robin Winslow
May 3 at 9:42




@tan9 that should be the accepted answer - could you post it as an answer?
– Robin Winslow
May 3 at 9:42












I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
– R J
Jun 4 at 13:01




I am running 18.04, and pointing the URL to artful did not help for me. The only thing that worked was installing docker.io.
– R J
Jun 4 at 13:01










up vote
3
down vote













Following the steps here in the Docker documentation worked for me. I just had to change stable to test in this command



sudo add-apt-repository 
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"





share|improve this answer






















  • why did you have to do that? What version are you using? Could you add the complete steps you used?
    – Zanna
    May 9 at 10:58










  • This does not work for Ubuntu 18.04, which is what the question was about.
    – R J
    Jun 4 at 12:57










  • it work absolutely fine for me
    – xExplorer
    Jun 5 at 7:18










  • @Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:31














up vote
3
down vote













Following the steps here in the Docker documentation worked for me. I just had to change stable to test in this command



sudo add-apt-repository 
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"





share|improve this answer






















  • why did you have to do that? What version are you using? Could you add the complete steps you used?
    – Zanna
    May 9 at 10:58










  • This does not work for Ubuntu 18.04, which is what the question was about.
    – R J
    Jun 4 at 12:57










  • it work absolutely fine for me
    – xExplorer
    Jun 5 at 7:18










  • @Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:31












up vote
3
down vote










up vote
3
down vote









Following the steps here in the Docker documentation worked for me. I just had to change stable to test in this command



sudo add-apt-repository 
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"





share|improve this answer














Following the steps here in the Docker documentation worked for me. I just had to change stable to test in this command



sudo add-apt-repository 
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"






share|improve this answer














share|improve this answer



share|improve this answer








edited May 9 at 10:57









Zanna

47.9k13119227




47.9k13119227










answered May 9 at 10:26









xExplorer

464




464











  • why did you have to do that? What version are you using? Could you add the complete steps you used?
    – Zanna
    May 9 at 10:58










  • This does not work for Ubuntu 18.04, which is what the question was about.
    – R J
    Jun 4 at 12:57










  • it work absolutely fine for me
    – xExplorer
    Jun 5 at 7:18










  • @Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:31
















  • why did you have to do that? What version are you using? Could you add the complete steps you used?
    – Zanna
    May 9 at 10:58










  • This does not work for Ubuntu 18.04, which is what the question was about.
    – R J
    Jun 4 at 12:57










  • it work absolutely fine for me
    – xExplorer
    Jun 5 at 7:18










  • @Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
    – mafrosis
    Jun 8 at 22:31















why did you have to do that? What version are you using? Could you add the complete steps you used?
– Zanna
May 9 at 10:58




why did you have to do that? What version are you using? Could you add the complete steps you used?
– Zanna
May 9 at 10:58












This does not work for Ubuntu 18.04, which is what the question was about.
– R J
Jun 4 at 12:57




This does not work for Ubuntu 18.04, which is what the question was about.
– R J
Jun 4 at 12:57












it work absolutely fine for me
– xExplorer
Jun 5 at 7:18




it work absolutely fine for me
– xExplorer
Jun 5 at 7:18












@Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
– mafrosis
Jun 8 at 22:31




@Zanna github.com/docker/for-linux/issues/290#issuecomment-393605253
– mafrosis
Jun 8 at 22:31












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030179%2fpackage-docker-ce-has-no-installation-candidate-in-18-04%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491