Category : docker

Is there any way to specify installed GD extension version? Currently I have following Dockerfile: ARG PHP_VERSION=8.1.1 FROM php:${PHP_VERSION}-fpm-alpine RUN apk add –update –no-cache freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev libwebp-dev && docker-php-ext-configure gd –with-freetype –with-jpeg –with-webp NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && docker-php-ext-install -j$(nproc) gd && apk del –no-cache freetype-dev libpng-dev libjpeg-turbo-dev ..

Read more

I want to install SQL server driver for php on laravel sail, after building containers Docker cannot install sql server driver. I’m getting trying to access array offset error .. docker-compose.yml version: ‘3’ services: laravel.test: build: context: ./vendor/laravel/sail/runtimes/7.4 dockerfile: Dockerfile args: WWWGROUP: ‘${WWWGROUP}’ image: sail-7.4/app extra_hosts: – ‘host.docker.internal:host-gateway’ ports: – ‘${APP_PORT:-80}:80’ environment: WWWUSER: ‘${WWWUSER}’ LARAVEL_SAIL: ..

Read more

So I have a docker container build with buildpack that runs the following command under PID 1 procmgr /layers/paketo-buildpacks_php-web/php-web/procs.yml is it possible to reload the configs passed into procmgr somehow? 🐳 [DEV] backend-v1-7476cc6cfd-l68p2 app # ps aufx USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND cnb 30 1.0 0.0 18648 3444 pts/0 ..

Read more

I need to mount NFS volume on Mac OS. I am doing it trought Docker with Dockerfile, but the mounting everytimes fails. I found out a solution from coworker, but I am not sure how to apply it. Where should I add this line: nfs.server.mount.require_resv_port = 0 ERROR: Creating isvz-database … done Creating isvz-portal … ..

Read more

I have quite a big web project, I was using some windows development tools, but now I wanna use docker, because I started to use Mac. I am using visual code, when I write docker-compose up in folder where in my Dockerfile located it should build the project. But I am still getting this error, ..

Read more