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


(ไก่จิกดตฎฏบปอ ) #1
[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?


Discourse failed after attempted update
(Sol) #2

Maybe a DNS problem?


(Michael Downey) #3

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?


(ไก่จิกดตฎฏบปอ ) #4
$ 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>

(Jeff Atwood) #5

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


Discourse failed after attempted update
(ไก่จิกดตฎฏบปอ ) #6

I removed the left Centos

And change it to Ubuntu-based guidelines.

successfully passed


(Jeff Atwood) #7