# Your Docker installation is not working correctly

**URL:** https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051
**Category:** Self-hosting
**Created:** [2017年七月29日 04:34 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051 "2017-07-29T04:34:59Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![SMT](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SMT](https://meta.discourse.org/u/SMT)
#### Post date: [2017年七月29日 04:34 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/1 "2017-07-29T04:34:59Z")

</div>

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

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2017年七月29日 05:02 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/2 "2017-07-29T05:02:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![SMT](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SMT](https://meta.discourse.org/u/SMT)
#### Post date: [2017年七月29日 05:29 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/3 "2017-07-29T05:29:56Z")

</div>

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

```

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2017年七月29日 05:45 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/4 "2017-07-29T05:45:03Z")

</div>

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](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) to get your system onto an up-to-date and supported version.

---

<div class="post-metadata">

### Author: ![SMT](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SMT](https://meta.discourse.org/u/SMT)
#### Post date: [2017年七月29日 06:12 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/5 "2017-07-29T06:12:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2017年七月29日 06:13 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/6 "2017-07-29T06:13:23Z")

</div>

… that’s what I linked to.

---

<div class="post-metadata">

### Author: ![SMT](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SMT](https://meta.discourse.org/u/SMT)
#### Post date: [2017年七月29日 12:37 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/7 "2017-07-29T12:37:52Z")

</div>

Thanks it worked! 🙂

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2017年七月30日 07:45 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly/67051/8 "2017-07-30T07:45:06Z")

</div>


