# Issue regarding Docker development image

**URL:** <https://meta.discourse.org/t/issue-regarding-docker-development-image/53702>\
**Category:** Development\
**Created:** [2016 年 12 月 2 日午後 5:47 UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702 "2016-12-02T17:47:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![zuzust](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zuzust/32/120850_2.png) [@zuzust](https://meta.discourse.org/u/zuzust)\
**Post date:** [2016 年 12 月 2 日午後 5:47 UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/1 "2016-12-02T17:47:13Z")

</div>

I’ve tried to setup my Discourse development environment the Docker way, but I’ve realized that `boot_env` script tries to pull a non existent `discourse/discourse_dev:latest` docker image. Instead, a `discourse/dev:latest` image exists in Docker Hub, but it is outdated (version 1.0.13).

So I’ve tried to build it myself running

`$ sudo ruby build.rb -i discourse_dev`

But when I run

`$ ./bin/docker/boot_env --init`

I get an error message regarding PostgreSQL:

```bash
Migrating database...
URGENT: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
 Failed to initialize site default
URGENT: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
 Failed to initialize site default
rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

```

Any ideas to fix it?

---

_[View the full topic](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702)._
