Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 530 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 530 Bytes

Nginx-MariaDB-PHP

Use docker to run local server without install LAMPP.

Setup

  • Install docker.

  • Create folder www for root project.

Run docker

sud0su@oprek$ docker-compose up -d

Check container running

sud0su@oprek$ docker ps

Running MySQL shell command line

sud0su@oprek$ docker-compose exec mysql sh

Stop docker

sud0su@oprek$ docker-compose stop

Remove all docker image

sud0su@oprek$ docker-compose rm --all