Docker Engine Installation

I used to install docker on Linux using

wget get.docker.com
bash (downloaded file)

But it has started giving errors recently:

  • sudo -E sh -c ‘apt-get update -qq >/dev/null’
    W: The repository ‘Index of /mc3man/trusty-media/ubuntu xenial Release’ does not have a Release file.
    E: Failed to fetch mc3man/trusty-media/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found .
    E: Some index files failed to download. They have been ignored, or old ones used instead.

(removed some part of the 2nd PPA link in the above snippet)