modified wordpress docker container to run as normal user (non-root)
1.6K
Dockerfile to create and run your own wordpress process inside a debian docker container.
/var/www/html
Contains: Wordpress files
docker build -t YOURNAME/YOURCONTAINER:YOURTAG .
docker run --name wordpress \
-v volume-www:/var/www/html \
-d 11notes/wordpress:5.0.0-php7.2-apache
ports & uid/gid:
replaced port 80 with 8080 and 443 with 8443 (non-root)
uid:gid both set to static 1000:1000
Content type
Image
Digest
Size
139.5 MB
Last updated
almost 8 years ago
docker pull 11notes/wordpress