# Jenkins with PHP

**URL:** <https://forums.docker.com/t/jenkins-with-php/7283>\
**Category:** Compose\
**Created:** [March 10, 2016, 1:57pm UTC](https://forums.docker.com/t/jenkins-with-php/7283 "2016-03-10T13:57:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyshops](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@happyshops](https://forums.docker.com/u/happyshops)\
**Post date:** [March 10, 2016, 1:57pm UTC](https://forums.docker.com/t/jenkins-with-php/7283/1 "2016-03-10T13:57:45Z")

</div>

Hi,

we are extremely new to docker. Our goal is to run docker with jenkins and php7. The root infrastructure is a synology disk station.  
Within jenkins we want to run “php composer.phar”.  
Therefore we have two images/containers which we have linked together through docker-compose.  
But php seems not to be available in the jenkins container.

Is this a general problem, we did not mentioned?

Our yaml file:

```
php:
 image: php:7.0.4-fpm
jenkins:
 image: jenkins:latest
 ports: 
  - 8080:8080
  - 50000:50000
 volumes: 
  - /volume1/docker/happyshops/jenkins:/var/jenkins_home
 links:
 - php:php

```

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![akosgluebe](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@akosgluebe](https://forums.docker.com/u/akosgluebe)\
**Post date:** [April 10, 2016, 10:04am UTC](https://forums.docker.com/t/jenkins-with-php/7283/2 "2016-04-10T10:04:04Z")

</div>

Hello,

Have you found any solution/approach to this problem? I have exactly the same setup:  
[http://pastebin.com/ZDx6WsW9](http://pastebin.com/ZDx6WsW9)

Please share your setup if you have fixed it. Thanks.

---

<div class="post-metadata">

**Author:** ![luiscmr](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@luiscmr](https://forums.docker.com/u/luiscmr)\
**Post date:** [May 18, 2017, 6:45pm UTC](https://forums.docker.com/t/jenkins-with-php/7283/3 "2017-05-18T18:45:00Z")

</div>

hey did you found the solution?

---

<div class="post-metadata">

**Author:** ![akosgluebe](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@akosgluebe](https://forums.docker.com/u/akosgluebe)\
**Post date:** [May 18, 2017, 7:07pm UTC](https://forums.docker.com/t/jenkins-with-php/7283/4 "2017-05-18T19:07:48Z")

</div>

Hi, no, we didn’t continue with this approach, so it was not further examined.
