Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Docker CE on Ubuntu 17.10

Installing Docker CE on Ubuntu 17.10 Artful Aardvark

As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.

If you are used to installing Docker to your development machine with get-docker script, that won't work either. So the solution is to install Docker CE from the zesty package.

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"

sudo apt-get update
sudo apt-get install docker-ce
@Varvara-Gornostaeva

This comment has been minimized.

Copy link

commented Nov 1, 2017

Thank you! C:

@aaronk1

This comment has been minimized.

Copy link

commented Nov 6, 2017

Thanks. Works, whereas the docker.com documentation does not (although they don't show 17.10 as supported so maybe they haven't updated their documentation). Much appreciated.

Fixes this error:
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

@noudAndi

This comment has been minimized.

Copy link

commented Nov 6, 2017

Thanks!! 👍

@Arxcis

This comment has been minimized.

Copy link

commented Nov 7, 2017

Great, just what I needed ;)

@TimDorand

This comment has been minimized.

Copy link

commented Nov 7, 2017

artful has been released the 2th of november 2017.
Download Docker

@w32blaster

This comment has been minimized.

Copy link

commented Nov 8, 2017

that works for me, thanks 👍

@AevaOnline

This comment has been minimized.

Copy link

commented Nov 9, 2017

For me, after installation, the docker service fails to start. This could be due to previous installs (I recently updated from 16.04 to 17.10 and reinstalled docker). In case others encounter this error:

Nov 09 13:06:27 DV-X270 systemd[1]: Starting Docker Application Container Engine...                                                
Nov 09 13:06:27 DV-X270 docker[11520]: `docker daemon` is not supported on Linux. Please run `dockerd` directly
Nov 09 13:06:27 DV-X270 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE

The fix is pretty simple:

sudo sed -i 's/docker daemon/dockerd/' /etc/systemd/system/docker.service
sudo systemctl daemon-reload
sudo service docker start
@punkdata

This comment has been minimized.

Copy link

commented Nov 10, 2017

Gracias 👍

@utkarsh27a

This comment has been minimized.

Copy link

commented Nov 17, 2017

Great job ty

@adityakmr

This comment has been minimized.

Copy link

commented Nov 19, 2017

its not working how can i solve this error

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

@akhilesh-k

This comment has been minimized.

Copy link

commented Nov 20, 2017

Dhanyawaad :)

@dimaas

This comment has been minimized.

Copy link

commented Nov 28, 2017

Thanks!

@vingorius

This comment has been minimized.

Copy link

commented Nov 29, 2017

Thank you!

@DamirIlyasov

This comment has been minimized.

Copy link

commented Dec 4, 2017

Saved a lot of time, thank you!

@jdebarizon

This comment has been minimized.

Copy link

commented Dec 5, 2017

Awesome!
Went thru the same issue on installing Oracle Database on an older Docker version.

Here's the error:
oracle/docker-images#648
The --start-period option for HEALTHCHECK got introduced in Docker 17.05-ce. Please upgrade to the latest Docker version, 17.06-ce on OL7.

After the Docker uninstall, I got the error below by following Docker standard installation:

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

This will fix the issue and now Oracle 12c database installation finishes successfully.

Thanks!

@AmineAITBENLAASSEL

This comment has been minimized.

Copy link

commented Dec 5, 2017

thanks 👍 💯

@itlpps

This comment has been minimized.

Copy link

commented Dec 6, 2017

Nice bro!

@btalanski

This comment has been minimized.

Copy link

commented Dec 7, 2017

Great stuff

@teaddict

This comment has been minimized.

Copy link

commented Dec 7, 2017

works very well with ubuntu artful!

@sagar-rout

This comment has been minimized.

Copy link

commented Dec 7, 2017

Thanks 👍

@kru

This comment has been minimized.

Copy link

commented Dec 8, 2017

Thanks!

@katchoua

This comment has been minimized.

Copy link

commented Dec 10, 2017

Cool, that works well 👍

@Adaline1009

This comment has been minimized.

Copy link

commented Dec 11, 2017

Thank you!

@indradhanush

This comment has been minimized.

Copy link

commented Dec 12, 2017

Thank you! :)

@kakulukia

This comment has been minimized.

Copy link

commented Dec 15, 2017

This should be mentioned in the official docs tho: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/

@sunilsoni

This comment has been minimized.

Copy link

commented Dec 18, 2017

Thank you! Helped me.

@tgabi333

This comment has been minimized.

Copy link

commented Dec 20, 2017

Only Docker 17.11 and newer are available for Ubuntu 17.10 , you have to use edge release channel at least until 17.12 stable is released

@kaminskypavel

This comment has been minimized.

Copy link

commented Dec 24, 2017

Thanks!

@brahmanggi

This comment has been minimized.

Copy link

commented Dec 25, 2017

Thanks!!

@rad8329

This comment has been minimized.

Copy link

commented Dec 28, 2017

Gracias!

@iSanchezDev

This comment has been minimized.

Copy link

commented Jan 19, 2018

It worked, thank you!

@LisaNYC

This comment has been minimized.

Copy link

commented Jan 25, 2018

Please help! I cannot get docker running:
lisa@sam-PowerEdge-T620:~$ systemctl status docker
● docker.service
Loaded: loaded (/etc/systemd/system/docker.service; static; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─override.conf
Active: failed (Result: exit-code) since Wed 2018-01-24 04:27:16 CST; 4min 41s ago
Process: 13275 ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock (co
Main PID: 13275 (code=exited, status=1/FAILURE)

@LisaNYC

This comment has been minimized.

Copy link

commented Jan 25, 2018

I am running ubuntu 17.10, tried both stable and edge Dockers

@liaozd

This comment has been minimized.

Copy link

commented Jan 28, 2018

+1 for this

 sudo sed -i 's/docker daemon/dockerd/' /etc/systemd/system/docker.service
@abbymalson

This comment has been minimized.

Copy link

commented Feb 11, 2018

+1

@gdelca5

This comment has been minimized.

Copy link

commented Feb 27, 2018

Thanks !

@Boscoand

This comment has been minimized.

Copy link

commented Mar 1, 2018

Thanks!

@zideano

This comment has been minimized.

Copy link

commented Mar 18, 2018

Great, this works for me.

@hAtul89

This comment has been minimized.

Copy link

commented Mar 27, 2018

Thank you!

@keNzi

This comment has been minimized.

Copy link

commented Mar 28, 2018

Thanks! :)

@inosjarv

This comment has been minimized.

Copy link

commented Apr 8, 2018

sudo apt-get update is showing this error:

"'http://repo.mongodb.org/apt/ubuntu artful/mongodb-org/3.2 Release' does not have a Release file."

what can I do??

@meloBerati

This comment has been minimized.

Copy link

commented Apr 18, 2018

E: Package 'docker-ce' has no installation candidate

@tmplinshi

This comment has been minimized.

Copy link

commented Apr 23, 2018

Thanks

@momilc

This comment has been minimized.

Copy link

commented Apr 27, 2018

Great ! Thank you !

@alan86alves

This comment has been minimized.

Copy link

commented May 17, 2018

Thanks

@Asdafers

This comment has been minimized.

Copy link

commented Jun 11, 2018

Getting "The repository 'https://download.docker.com/linux/ubuntu artful Release' no longer has a Release file."

Any ideas what's gone haywire in my setup?

@whoan

This comment has been minimized.

Copy link

commented Sep 4, 2019

You can also use this more generic way to add the proper repo according to ubuntu's codename:

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

More info here: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.