Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [dockerfile]

A Dockerfile is a file containing instructions to build a Docker image.

dockerfile
0 votes
0 answers
6 views

Github Action Docker Build Segmentation fault for ARM64/v8

I am trying to build a docker image and publish it to Github Container Registery that can be started on my Raspberry Pi with Ubuntu 22.04, ARM64/v8. Build for amd64 forks perfectly, but whenever i ...
TheSecurity's user avatar
0 votes
0 answers
24 views

docker-compose generated WebAPI container fails to connect to MySql container

I have a Visual Studio .Net 8 Solution that contains a WebAPI backend project. It also contains dockerfile. I have also added a docker-compose to orchestrate the project. Outside of this visual ...
Babu Mannavalappil's user avatar
0 votes
1 answer
15 views

I am Dockerizing my Spring boot application and i am getting connection refusal errors

Here is my project https://github.com/haseeb1988/spRegistration.git // Creating network docker network create -d bridge sp-sql-net // build images docker build -t springboot_website . //run container ...
mohammad haseeb's user avatar
0 votes
1 answer
22 views

Handling secret env variables in Docker container via GitHub Actions

How can I dockerize an .env file while keeping the variables secret? I have an .env file that is hidden by a .gitignore and .dockerignore. I have an .env file that is hidden by a .gitignore and ....
beepbeepboop's user avatar
0 votes
1 answer
14 views

See docker name of services in petitions inside the same docker network

so I have multiple services runing in the same docker network with flask they are set like this: version: '3' services: login: build: context: ./repo_login dockerfile: Development....
Miguel Robledo's user avatar
0 votes
0 answers
12 views

My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080

I am fairly new to AWS and docker. What I have done is -- I have created a sample spring-boot get endpoint Created a docker image from it and pushed the same to DockerHub Created an ECS cluster and ...
akash89's user avatar
  • 891
0 votes
1 answer
24 views

Does not contain a static 'main' method suitable for an entry point when running docker build

Does not contain a static 'main' method suitable for an entry point using CountryAPI.Models; public class Program { public static void Main(string[] args) { var builder = ...
Prottasha D'cruze's user avatar
0 votes
0 answers
14 views

Use .sh file to build image in docker compose

I have a docker compose file that works fine on my Windows/WSL environment. I am trying to deploy it to a Ubuntu server. I get the following error unable to prepare context: path "/home/dev/...
The Governor's user avatar
0 votes
0 answers
22 views

Playwright in a Docker suddenly stopped working "Executable doesn't exist at /home/.cache/ms-playwright/chromium-1124/chrome-linux/chrome"

It was working fine up until yesterday. Full setup is Playwright in Express in a Docker container in Google Cloud Run. Preferably headful but I'd accept anything at this stage. browserType.launch: ...
ooovoflo's user avatar
0 votes
0 answers
15 views

UtilGetPpid:1293 Failed to parse

I'm getting this error when a try to build my app from my dockerfile: 8.497 /root/.nuget/packages/microsoft.net.compilers/4.2.0/tools/Microsoft.CSharp.Core.targets(75,5): error : <3>WSL (229) ...
fuba's user avatar
  • 23
0 votes
2 answers
32 views

Gitlab pipeline does not have pip installed

I have a gitlab pipeline split in two jobs but unfortunately the second job complains /bin/sh: eval: pip: not found. Below is the .gitlab-ci.yml file. stages: - build - test default: image: ...
Rishik Mani's user avatar
-1 votes
0 answers
17 views

How to run mariadb in the docker build phase

I am trying to run mariadb in my dockerfile. The dockerfile's job is to build my app and leave a Docker image ready to run. Some of my unit tests - that are part of the build - need mariadb to run. ...
pieroxy's user avatar
  • 847
-1 votes
0 answers
14 views

Using Supervisord with Laravel and Docker for Queue system

I wanna use supervisord in my application for queue system but I didn't make Dockerfile and docker-compose.yml. How do I solve this problem This file is Dockerfile FROM php:8.2 RUN apt-get update -y &...
M.Eren YILMAZ's user avatar
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 ...
Jordi Tomàs Molina 's user avatar
-2 votes
0 answers
29 views

Run command in Dockerfile

I am a newbie and running the below command in my Dockerfile CMD ["npm run envvar && NODE_ENV=DEV node .src/script"] I am using distro less image and when I try to run the image it ...
hazzy's user avatar
  • 103

15 30 50 per page
1
2 3 4 5
1074