Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 489 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 489 Bytes

docker-lemp

LEMP stack in Docker

Download a working image from https://hub.docker.com/r/sumitk1/lemp/

OR

$ docker pull sumitk1/lemp

To build an image from scratch -

  $ git clone https://github.com/sumitk1/docker-lemp.git
  $ cd docker-lemp
  $ docker build -t test/lemp:1.0 . 

To mount you project which is at /srv/project_lemp_dir this is how you start the container

  $ docker run -d -P -v /srv/project_lemp_dir:/srv/http --name  test/lemp:1.0