skip to Main Content

Identify FROM line from Docker Image

I have an image from a colleague and the original version of the Dockerfile was lost that was used to create it. I used alpine/dfimage to rebuild everything in the Dockerfile except the first line (FROM). According to Artifactory, the…

VIEW QUESTION

Docker nginx php-fpm not serving php

I'm trying to setup nginx and php-fpm images to work together for a Laravel application. This is my set up: docker-compose.yml version: "3.8" services: server: container_name: nginx build: context: . dockerfile: docker/nginx/Dockerfile volumes: - ./src/public:/var/www/html/public ports: - "8888:80" depends_on: -…

VIEW QUESTION

geoip_country_name returns "-" in nginx

I am trying to install geoip module for nginx though dockerfile by adding to my dockerfile the following: RUN apk add --no-cache libmaxminddb nginx-mod-http-geoip RUN cd /var/lib; mkdir -p nginx; wget -q -O- https://dl.miyuru.lk/geoip/maxmind/country/maxmind.dat.gz | gunzip -c > nginx/maxmind-country.dat; wget…

VIEW QUESTION
Back To Top
Search