Can I use php container to execute scripts from other container. If I can how can I do it or what I do wrong
Dockerfile:
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y apache2
ADD docker/apache2/apache-config.conf /etc/apache2/sites-enabled/000-default.conf
ADD docker/hosts /etc/hosts
CMD /usr/sbin/apache2ctl -D FOREGROUND
fig:
app:
build: .
volumes:
- .:/var/www/
ports:
- "80:80"
links:
- php
php:
image: php:5.6
volumes:
- .:/var/www/