Building from source To build from source you need to clone the git repo and run docker build: git clone https://github.com/ngineered/nginx-php-fpm .git docker build -t nginx-php-fpm:latest .