Skip to content

Instantly share code, notes, and snippets.

@levsthings
Last active April 13, 2023 21:05
Show Gist options
  • Save levsthings/0a49bfe20b25eeadd61ff0e204f50088 to your computer and use it in GitHub Desktop.
Save levsthings/0a49bfe20b25eeadd61ff0e204f50088 to your computer and use it in GitHub Desktop.
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
@brahmanggi
Copy link

Thanks!!

@rad8329
Copy link

rad8329 commented Dec 28, 2017

Gracias!

@iSanchezDev
Copy link

It worked, thank you!

@LisaNYC
Copy link

LisaNYC 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
Copy link

LisaNYC commented Jan 25, 2018

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

@liaozd
Copy link

liaozd commented Jan 28, 2018

+1 for this

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

@the-great-abby
Copy link

+1

@gdelca5
Copy link

gdelca5 commented Feb 27, 2018

Thanks !

@Boscoand
Copy link

Boscoand commented Mar 1, 2018

Thanks!

@zideano
Copy link

zideano commented Mar 18, 2018

Great, this works for me.

@waliddoch
Copy link

Thank you!

@keNzi
Copy link

keNzi commented Mar 28, 2018

Thanks! :)

@inosjarv
Copy link

inosjarv 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
Copy link

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

@momilc
Copy link

momilc commented Apr 27, 2018

Great ! Thank you !

@alancriaxyz
Copy link

Thanks

@Asdafers
Copy link

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
Copy link

whoan 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

@aditi17142
Copy link

Hi!!
I have been trying to install docker on my system with details:
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

I am following the instructions from https://docs.docker.com/engine/install/ubuntu/ for installation.

I am stuck at:
Command:
sudo apt-get install docker-ce docker-ce-cli containerd.io

Output:
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
E: Unable to locate package docker-ce-cli
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io

Kindly guide how can I go about it.
Thank you.

@tomshomelab
Copy link

This didnt work for me - get the same errror; Failed to fetch http://get.docker.io/ubuntu/dists/docker/InRelease 403 Forbidden

@tp1050
Copy link

tp1050 commented Apr 13, 2023

I have no idea what this madness is about, but it keeps infecting my instation every once in a while, what I did was to go this https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64/ and downloaded the deb files manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment