Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Client Error Response (404) on first try #25

Closed
Nek- opened this issue Aug 8, 2014 · 9 comments
Closed

Client Error Response (404) on first try #25

Nek- opened this issue Aug 8, 2014 · 9 comments

Comments

@Nek-
Copy link
Contributor

Nek- commented Aug 8, 2014

Hello,

I tried jolici on a random simple project. It worked the second time I ran jolici. But first here is what I got:

error while running jolici for the first time

I had this issue 2 times (once for php 5.4 and once for 5.5). So I guess that it's a redundante issue.

@joelwurtz
Copy link
Member

Can you run it on mode verbose and show me output ?

@Nek-
Copy link
Contributor Author

Nek- commented Aug 8, 2014

I'm sorry I can't reproduce it on my computer. How to drop already existing containers ?

@joelwurtz
Copy link
Member

you can remove containers and or images with the docker commands :

docker images

To see the list of images

docker rmi [image_name | id]

To remove an image

For containers in the same way you have

docker ps -a
docker rm [container | id]

Respectively list and remove a container

(Next version of JoliCi will include proper removal, i'm actually working on it)

@Nek-
Copy link
Contributor Author

Nek- commented Aug 8, 2014

I'm going to wait for the easy clean :-°

@cordoval
Copy link
Contributor

cordoval commented Aug 9, 2014

it looks similar to what happened to me, but i persevered, check some issues i created

@Nek-
Copy link
Contributor Author

Nek- commented Aug 9, 2014

@cordoval you mean that one ? #21

If yes, it's not related.

My problem is that I have to delete so many containers by hand (almost 100 in facts). It's ok for me waiting for an automated solution to remove them all :) .

@cordoval
Copy link
Contributor

cordoval commented Aug 9, 2014

you can do a quick script, i also have one, but misplaced it

@h4cc
Copy link
Contributor

h4cc commented Sep 26, 2014

I had such a 404 Error too, but it happened because of a not displayed composer error:

h4cc/alice-fixtures-bundle$ php jolici.phar -vvv run
Creating builds...
4 builds created

Running build php-5.4

Step 0 : FROM jolicode/php54
 ---> 09a97aea418e
Step 1 : ENV WORKDIR $HOME/project
 ---> Using cache
 ---> 8b73425a00b1
Step 2 : ADD . $WORKDIR
 ---> 556a19385087
Step 3 : WORKDIR ~/project
 ---> Running in c54ce73b1a98
 ---> 3a650122459f
Step 4 : ENV SYMFONY_VERSION 2.5.*
 ---> Running in 0ba2959e245c
 ---> 15e6dd99ac83
Step 5 : ENV TRAVIS_PHP_VERSION 5.4
 ---> Running in 73d01079fd9f
 ---> c342b31dc7a2
Step 6 : RUN /bin/bash -c -l "cd $WORKDIR && composer install"
 ---> Running in bc6198acb3d0
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/mongodb 1.1.6 requires ext-mongo >=1.2.12,<1.6-dev -> the requested PHP extension mongo is missing from your system.
    - doctrine/mongodb 1.1.6 requires ext-mongo >=1.2.12,<1.6-dev -> the requested PHP extension mongo is missing from your system.
    - Installation request for doctrine/mongodb 1.1.6 -> satisfiable by doctrine/mongodb[1.1.6].

The command [/bin/sh -c /bin/bash -c -l "cd $WORKDIR && composer install"] returned a non-zero code: 2


  [GuzzleHttp\Exception\ClientException]                                                      
  Client error response [url] /containers/create [status code] 404 [reason phrase] Not Found  

My before_script: commands would have added the ext-mongo.

@joelwurtz
Copy link
Member

Fixed in #37

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

No branches or pull requests

4 participants