Answer the question
In order to leave comments, you need to log in
Why can docker-compose hang?
macOS 10.12
docker 1.12.3
docker-compose 1.8.1
When launching containers via docker-compose, for some reason, nothing happens and you can't even end docker-compose via "ctrl + c", the process seems to be frozen, only docker-compose is cut down via "kill -9".
True, this does not always happen, sometimes docker-compose starts adequately, I can’t understand what is the reason, tell me where to dig?
Here is my docker-compose.yml:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./docker/mysql:/var/lib/mysql
quintle:
image: quintle
ports:
- "80:80"
volumes:
- ./src:/var/www/html
- ./docker/config/000-default.conf:/etc/apache2/sites-available/000-default.conf
links:
- mysql:mysql
FROM php:7.0-apache
RUN apt-get update
RUN apt-get install -y nano
RUN a2enmod rewrite
RUN service apache2 restart
EXPOSE 80
COPY /src/ /var/www/html/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question