Ubuntu 18.04 container, with NGINX and PHP7.4-fpm installed and running with supervisord.
3.5K
The container has the port 80 and the volume /var/www exposed to the host, it means you have to choose a port and volume on the host to map into the container ones. You can do the mapping using the docker GUI(Kitematic), or by running the command below:
docker run -dti -v ~/git/onerpm-api:/var/www -p 80:80 onerpm/ubuntu-nginx-php7
I suffered a lot when using windows 10 HOME, because Docker uses a Virtualbox VM to run the containers, which makes ports and volumes sharing between the host and containers a nightmare, so try to run docker on Linux, MacOS, or a version of Windows that supports Hyper-V by all means.
Content type
Image
Digest
Size
475 MB
Last updated
over 4 years ago
docker pull onerpm/ubuntu-nginx-php7