# lnmpdocker **Repository Path**: freemannow/lnmpdocker ## Basic Information - **Project Name**: lnmpdocker - **Description**: use Dockerfile to build a lnmp env - **Primary Language**: Docker - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-02-14 - **Last Updated**: 2023-05-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - 1. Build the images ``` docker build -t freephp/mylnmp:v1 . ``` - 2.Create the container with the images ``` docker run -id -p 80:80 -v /Users/tony/www/myphp:/var/www/html --name mylnmp freephp/mylnmp:v1 ``` - 3. Enter the container and check the nginx service is ok: ``` docker exec -it mylnmp bash # After get into the container and then run this command to ensure the status of nginx service ps aux | grep nginx ```