Your Docker installation is not working correctly


#1

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

(Rafael dos Santos Silva) #2

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


#3

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

(Matt Palmer) #4

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.


#5

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.


(Matt Palmer) #6

… that’s what I linked to.


#7

Thanks it worked! :slight_smile:


(Régis Hanol) #8