Your Docker installation is not working correctly

AI-generated summary

SMT is experiencing issues with their Docker installation, specifically receiving a “Tag 2.0.20170728 not found in repository docker.io/discourse/base” error while trying to rebuild Discourse. Falco suggests checking the Docker version, which SMT reports as 1.9.1, an outdated version. mpalmer explains that this version is no longer supported and recommends updating to the latest version using the Docker installation instructions. SMT requests a step-by-step guide and mpalmer reiterates that the linked instructions should be sufficient. SMT eventually reports success in updating Docker.

I was getting bad gateway error. So I tried to rebuilt discourse. But it stucks at downloading image. How to solve this?

Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Extracting 281.3 MB/717.7 MB
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Pulling fs layer
154dbe6de0de: Verifying Checksum
154dbe6de0de: Download complete
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Pulling fs layer
154dbe6de0de: Verifying Checksum
154dbe6de0de: Download complete
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Pulling fs layer
154dbe6de0de: Verifying Checksum
154dbe6de0de: Download complete
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Pulling fs layer
154dbe6de0de: Verifying Checksum
154dbe6de0de: Download complete
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
2.0.20170728: Pulling from discourse/base
154dbe6de0de: Pulling fs layer
154dbe6de0de: Verifying Checksum
154dbe6de0de: Download complete
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Unable to find image 'discourse/base:2.0.20170728' locally
Pulling repository docker.io/discourse/base
Tag 2.0.20170728 not found in repository docker.io/discourse/base
Your Docker installation is not working correctly

Are you running a valid version of Docker? Should be 17.something.

If I type docker version I get the following answer.

root@site:/var/discourse# docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

I’m not surprised you’re having problems, that version of Docker predates a lot of changes in image formats and such. You’ll want to follow the Docker installation instructions to get your system onto an up-to-date and supported version.

Is there any guide on how to update docker to latest version? I am completely noob at this so need step by step guide.

My site is hosted on digitalocean.

… that’s what I linked to.

Thanks it worked! :slight_smile: