I have to make Laravel app and to deliver a Dockerfile, but I’m really stuck with this. Before that I had a nightmare wile installing laravel on my machine. I’m trying to get dockervel image and following the steps here: http://www.spiralout.eu/2015/12/dockervel-laravel-development.html But when I…
Tag: docker
How Can I increase my timeout time in docker?
I am having a problem with my docker machine. I need to increase the timeout time, but I don’t know where. I increased the timeout in php.ini file, but doesn’t work. I need help, Thanks! P.D.: My OS is Ubuntu. Answer You can change timeout value in your /etc/php5/apache2/php.ini:
How can I start php-fpm in a Docker container by default?
I have this Docker image – Basically, I want it so that php-fpm starts when the docker container starts. I have php-fpm working if I manually go into the container and turn it on with /usr/sbin/php-fpm. I tried it inside of my ansible file with this command (it didn’t work). I tried using the serv…
Starting Docker containers from PHP
When I attempt to startup a Docker container via PHP I get the following error I try to execute the docker run command via shell_exec so the executing user, on Ubuntu 14.04, is www-data. For good measure I tried to run the docker command as sudo but it made no difference. Googling around for “Are you tr…
Apache in Docker won’t deliver sites
After installing an apache webserver in a docker container, I wanted to display a sample page just to make sure it works. However I always get 404 Not found. Here’s the dockerfile FROM ubuntu:14.04 …