All Questions
3,942
questions
0
votes
1
answer
26
views
Run docker compose build --no-cache return error unix:///.supervisor.sock no such file
Im trying to buld a docker img with php8 and apache, but when restart apache in the line RUN service apache2 restart, return this error , this is dockerfile:
FROM webdevops/php-apache:8.2
# we need ...
0
votes
1
answer
50
views
How can I load IonCube Loader into a PHP-FPM Docker image?
I am trying to use Setasign's FPDI-Parser trial of the full package before I commit to buying the licence but I cannot get the package to load correctly. My site works well until I try to use some of ...
-1
votes
0
answers
26
views
Docker php bootstrap configuration does not load css properly [closed]
I am new to Docker, I am trying to set up a Docker configuration for adding Php, Nginx, Mysql, Bootstrap and Sb Admin 2 Theme. But the css is not loaded properly. Below the configuration:
docker-...
1
vote
1
answer
35
views
Docker Compose: Mounted Laravel's .env File Not Passing Environment Variables (Laravel, MySQL)
I'm trying to connect my Dockerized Laravel application to a MySQL database using Docker Compose. I've mounted the .env file that contains the DB_DATABASE variable, but I'm still encountering the ...
1
vote
1
answer
39
views
How to display an image (picture) inside PHP using Docker bind mounts
I'm trying to upload an image using the img tag in PHP.
I'm using Docker with bind mounts (read and write permission) for a non-root user for my upload folder in Docker. My image still isn't showing ...
0
votes
0
answers
10
views
invoiceplane docker has php error connection reset by peer
i try to launch invoiceplane project
this code is from github
project source: https://github.com/InvoicePlane/InvoicePlane
all container except php is work correctly
but have an error when :
curl iv....
0
votes
1
answer
34
views
Nginx on VPS proxy to Docker container timeout
I’m new to using docker on servers, I have only used it for local development. I am working on a project that the server has nginx installed on it (the host machine), and also some containers running ...
1
vote
2
answers
102
views
MySQL docker container stuck reloading
My stack is win10/wsl2/ubuntu/docker desktop.
I'm stuck on running a MySQL docker container.
This is a part of my docker-compose.yml:
mysql:
hostname: a-mysql
container_name: a-...
-1
votes
0
answers
25
views
Create new Table in phpadmin from php file
I am trying to create a new Table called "check_doubles" inside of my phpadmin DB. I followed a tutorial on how to do it, the only difference is that my phpadmin is running in Docker.
This ...
0
votes
0
answers
28
views
Composer Install Fails with File Deletion Error in Docker on Windows
I am experiencing an issue with running composer install inside a Docker container on my Windows 11 machine. The installation fails while trying to delete a directory, and I receive the following ...
1
vote
1
answer
54
views
composer not found for docker and codeigniter
This is all new to me. I am using Docker and CodeIgniter. I want to create an image for CodeIgniter in Docker. I am using Docker Desktop on Windows. I have a Dockerfile that contains the code below. ...
0
votes
1
answer
37
views
Custom 500 page not shown in apache docker
I am trying to use php/apache in docker and I want to have a custom 500 page. I am trying it out on localhost and it never shows the page.
Dockerfile
FROM php:7.4-apache
COPY . /var/www/html/
COPY php....
0
votes
0
answers
24
views
"File not found" on the api page when loading Laravel NGINX app with docker-compose
I have an app that has a server (Laravel) and a client (nodeJS) running on a nginx server with docker-compose. I get the "File not found" error when I go to "localhost/api" page. ...
-1
votes
0
answers
24
views
Symfony7 + doctrine3 + postgres = The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue
On a brand new Postgres database
postgres:
container_name: postgres
image: "postgres:latest"
ports:
- 5432:5432
environment:
POSTGRES_USER: app
...
0
votes
1
answer
40
views
HTTP 500 error in a GitHub Actions pipeline of a Dockerized Laravel application
I'm starting to lose hope. I want to create a GitHub Actions pipeline to run my Laravel tests using 'php artisan test'.
My project is Dockerized and allows local code modification.
Here's my pipeline ...