Rake Aborted on Docker Image

docker
circle.yml

#1

unable to run make unit

bundle exec rake jasmine:ci
rake aborted!```

This is the complete output:
``#!/bin/bash -eo pipefail
make unit
vendor/bin/phpunit test

PHPUnit 4.1.6 by Sebastian Bergmann.

...........

Time: 56 ms, Memory: 3.50Mb

OK (11 tests, 20 assertions)
bundle exec rake jasmine:ci
rake aborted!
Errno::EADDRNOTAVAIL: Cannot assign requested address - connect(2) for "localhost" port 44246
/home/circleci/neo4jdotcom/vendor/bundle/ruby/2.4.0/gems/jasmine-2.0.2/lib/jasmine/base.rb:25:in `initialize'
/home/circleci/neo4jdotcom/vendor/bundle/ruby/2.4.0/gems/jasmine-2.0.2/lib/jasmine/base.rb:25:in `open'
/home/circleci/neo4jdotcom/vendor/bundle/ruby/2.4.0/gems/jasmine-2.0.2/lib/jasmine/base.rb:25:in `server_is_listening_on'
/home/circleci/neo4jdotcom/vendor/bundle/ruby/2.4.0/gems/jasmine-2.0.2/lib/jasmine/base.rb:35:in `wait_for_listener'
/home/circleci/neo4jdotcom/vendor/bundle/ruby/2.4.0/gems/jasmine-2.0.2/lib/jasmine/tasks/jasmine.rake:65:in `block (2 levels) in <top (required)>'
Tasks: TOP => jasmine:ci
(See full trace by running task with --trace)
Makefile:34: recipe for target 'unit' failed
make: *** [unit] Error 1
Exited with code 2

STEPS in config.yml:

      - checkout
      - run: sudo apt-get update
      - run: sudo apt-get install curl php5-cli git
      - run: curl -sS https://getcomposer.org/installer | sudo php -- --install- dir=/usr/local/bin --filename=composer
      - run: ./composer install
      - run: gem install bundler
      - run: bundle install --jobs=3 --retry=3 --deployment
      - run: make unit

#2