HUB
Sign inSign up

hpierce/docker-alpine-nginx-php-mysql

By hpierce

•Updated about 10 years ago

Solving the problem using alpine instead of ubuntu to show that it's smaller

Image
1

1.1K

hpierce/docker-alpine-nginx-php-mysql repository overview

⁠Package Included

  • nginx
  • php7-fpm
  • mysql
⁠Build
docker build \
  --build-arg mysql_root_pwd=custom_pwd \
  -t hpierce/docker-alpine-nginx-php-mysql .

If --build-arg [...] is not set, MySQL credentials will be root:p@ssw0rd.

⁠... or directly pull the image from the Docker Hub Registry:

docker pull hpierce/docker-alpine-nginx-php-mysql

⁠Run
⁠...in shell
docker run -it -p 8080:80 hpierce/docker-alpine-nginx-php-mysql
Tag summary
Recent tags
Content type
Image
Digest
Size
222.2 MB
Last updated
about 10 years ago
docker pull hpierce/docker-alpine-nginx-php-mysql:latest