âPackage 'docker-ce' has no installation candidateâ in 18.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
29
down vote
favorite
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?
apt 18.04 docker
add a comment |Â
up vote
29
down vote
favorite
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?
apt 18.04 docker
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
add a comment |Â
up vote
29
down vote
favorite
up vote
29
down vote
favorite
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?
apt 18.04 docker
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?
apt 18.04 docker
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
add a comment |Â
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
add a comment |Â
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!
1
Still does not work on 18.04. I still getE: 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
add a comment |Â
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.
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
add a comment |Â
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"
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
add a comment |Â
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!
1
Still does not work on 18.04. I still getE: 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
add a comment |Â
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!
1
Still does not work on 18.04. I still getE: 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
add a comment |Â
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!
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!
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 getE: 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
add a comment |Â
1
Still does not work on 18.04. I still getE: 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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
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"
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
add a comment |Â
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"
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
add a comment |Â
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"
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"
edited May 9 at 10:57
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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