Your Docker installation is not working correctly

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.

3 Likes

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.

1 Like

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.

1 Like

Thanks it worked! :slight_smile: