All Questions
Tagged with docker dockerfile
14,153
questions
0
votes
0
answers
15
views
My laravel project running with docker in Ubuntu does not see images [closed]
I am developing a laravel project using docker and I have a home/user/projects/myProject project in ubuntu to make this project faster. The problem is that my images are not showing up in "...
0
votes
1
answer
17
views
Authentication failed while connecting to docker-compose mongodb via springboot application
docker-compose.yml
version: '4'
services:
mongodb:
image: mongo:7.0.5
container_name: mongodb
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: ...
0
votes
1
answer
15
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....
0
votes
0
answers
14
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 ...
0
votes
1
answer
30
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 = ...
0
votes
0
answers
15
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/...
0
votes
0
answers
18
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) ...
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: ...
-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.
...
-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 &...
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 ...
-2
votes
0
answers
30
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 ...
0
votes
0
answers
18
views
Extract files from Docker build's intermediate stage image
Our project used to extract test report from docker build with Dockerfile:
FROM ubuntu AS build-stage
LABEL stage=build
RUN make setup
RUN make test test-report
RUN make build
FROM ubuntu
COPY --from=...
0
votes
0
answers
14
views
Authentication failed through - GSSAPI operation failed with error
I am trying to containerization of a web application in docker, which connect net.tcp WCF call from the application, which was working perfectly. Bu when I try to run the application through Docker,I ...
0
votes
1
answer
82
views
How to use appsettings in Azure Container App?
Currently we are migrating our .NET Framework WEB APIs to .NET 8. Along with that, we are migrating from service fabric to Azure Container App.
We want to use app setings from AppSettings.json file in ...