# Cannot start, "no docker.io" and cannot resolve github.com

**URL:** https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003
**Category:** Self-hosting
**Created:** [October 10, 2014, 8:17am UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003 "2014-10-10T08:17:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![iLek2428](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ilek2428/32/115936_2.png) [@iLek2428](https://meta.discourse.org/u/iLek2428)
#### Post date: [October 10, 2014, 8:17am UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/1 "2014-10-10T08:17:00Z")

</div>

```
[root@iLekLoveAnswers docker]# /var/docker/launcher bootstrap app
which: no docker.io in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Calculated ENV: -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e HOME=/root -e DISCOURSE_DEVELOPER_EMAILS=me@example.com -e DISCOURSE_HOSTNAME=discourse.example.com -e DISCOURSE_SMTP_ADDRESS=smtp.example.com
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Could not resolve host: github.com
0b40c83cfcd4bde7b880485c2153e240ac38d0466f819262599a72f680b4b2b2
FAILED TO BOOTSTRAP

```

What should I do?

---

<div class="post-metadata">

### Author: ![solhuebner](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solhuebner/32/34652_2.png) [@solhuebner](https://meta.discourse.org/u/solhuebner)
#### Post date: [October 10, 2014, 8:24am UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/2 "2014-10-10T08:24:53Z")

</div>

> [@iLek2428](#):
>
> Could not resolve host: [github.com](http://github.com)

Maybe a DNS problem?

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [October 10, 2014, 12:25pm UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/3 "2014-10-10T12:25:21Z")

</div>

> [@iLek2428](#):
>
> which: no [docker.io](http://docker.io) in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

It looks like you don’t have docker successfully installed. What happens when you run this?

```
 $ sudo docker info

```

If you get `docker: command not found` or something like `/var/lib/docker/repositories: permission denied` you may have an incomplete Docker installation or insufficient privileges to access Docker on your machine.

Which documentation did you use to install Discourse?

---

<div class="post-metadata">

### Author: ![iLek2428](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ilek2428/32/115936_2.png) [@iLek2428](https://meta.discourse.org/u/iLek2428)
#### Post date: [October 10, 2014, 1:27pm UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/4 "2014-10-10T13:27:57Z")

</div>

```
$ sudo docker info

Containers: 3
Images: 16
Storage Driver: devicemapper
 Pool Name: docker-252:1-265165-pool
 Pool Blocksize: 64 Kb
 Data file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
 Data Space Used: 2783.2 Mb
 Data Space Total: 102400.0 Mb
 Metadata Space Used: 2.4 Mb
 Metadata Space Total: 2048.0 Mb
Execution Driver: native-0.2
Kernel Version: 2.6.32-431.1.2.0.1.el6.x86_64
Operating System: <unknown>

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 10, 2014, 8:08pm UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/5 "2014-10-10T20:08:33Z")

</div>

> [@iLek2428](#):
>
> Storage Driver: devicemapper

This is not supported. Sorry.. we see lots of badness with devicemapper. You need to get AUFS working.

---

<div class="post-metadata">

### Author: ![iLek2428](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ilek2428/32/115936_2.png) [@iLek2428](https://meta.discourse.org/u/iLek2428)
#### Post date: [October 11, 2014, 5:44pm UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/6 "2014-10-11T17:44:26Z")

</div>

I removed the left Centos

And change it to Ubuntu-based guidelines.

successfully passed

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 11, 2014, 5:47pm UTC](https://meta.discourse.org/t/cannot-start-no-docker-io-and-cannot-resolve-github-com/21003/7 "2014-10-11T17:47:36Z")

</div>


