Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to start docker #116

Open
vivekj2 opened this issue Feb 12, 2019 · 3 comments
Open

unable to start docker #116

vivekj2 opened this issue Feb 12, 2019 · 3 comments

Comments

@vivekj2
Copy link

vivekj2 commented Feb 12, 2019

Could not find gem 'mocha (~> 0.14.0)' in any of the gem sources listed in your Gemfile.

@vivekj2
Copy link
Author

vivekj2 commented Feb 12, 2019

root@kali:~/jackhammer# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f2af565ab988 jackhammer_web "bash -c 'mkdir -p t…" 3 minutes ago Up 19 seconds 0.0.0.0:5000->3000/tcp jackhammer_web_1
e4974baddc66 mysql "docker-entrypoint.s…" 3 minutes ago Up 3 minutes (unhealthy) 0.0.0.0:3306->3306/tcp, 33060/tcp jackhammer-db
efee1d7dcbbe redis "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 0.0.0.0:32768->6379/tcp jackhammer_redis_1

@kempy007
Copy link

Plus one +1
Seems the mysql did not build correctly, thus the web container could not contact and the process quit.

[root@localhost jackhammer]# docker container logs jackhammer_web_1
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:458: warning: already initialized constant Readline::HISTORY
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:486: warning: already initialized constant Readline::FILENAME_COMPLETION_PROC
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:517: warning: already initialized constant Readline::USERNAME_COMPLETION_PROC
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:523: warning: already initialized constant Readline::VERSION
rake aborted!
Mysql2::Error: Can't connect to MySQL server on 'mysqldb' (111)
/root/.rbenv/versions/2.3.0/bin/bundle:23:in load' /root/.rbenv/versions/2.3.0/bin/bundle:23:in

'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

@kmadhusudhan
Copy link
Contributor

can you please use jch-v2 branch ,and rebuild it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants