600 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
66
views
Docker build error => ERROR [ai-agent-service builder 5/6] COPY pyproject.toml poetry.lock* ./
There something is not correct either in Dockerfile of services, or docker-compose.yml, on one builds it builds the images successfully, and for second time build fails with below error, then when I ...
1
vote
1
answer
117
views
GCP keyring authentication not working in Docker build
I am able to install my python package from GCP Artifactory.
Authenticate to GCP.
% gcloud auth application-default login
Your browser has been opened to visit:
https://accounts.google.com/o/...
0
votes
1
answer
45
views
Leftovers after generating a docker image
I am building a docker image that contains LLMs so in the end I got a kind of big image
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
...
0
votes
1
answer
75
views
docker build: create tap and bridge devices in DOCKERFILE
I need to set up a docker container, which has an internal network (tap-bridge-tap) to enable the IP communication between two applications in a test environment.
Since the environment forbids the ...
1
vote
2
answers
334
views
Docker - dockerfile parse error on unknown instruction: [global]
How to fix Docker error Failed to solve: dockerfile parse error on line xx: unknown instruction: [global].
FROM ubuntu:latest
RUN /bin/bash -c 'cat <<EOF > /etc/pip.conf.d/pip.conf
[global]
...
0
votes
0
answers
873
views
Docker: failed to solve: archive/tar: unknown file mode ?rwxr-xr-x
I am new to Docker and I trying to setup a Laravel project inside a Docker. I successfully built and ran the container. Everything worked fine.
However, after removing all containers and images and ...
0
votes
0
answers
203
views
Unable to Pass Secrets for Docker Image Build in GitHub Actions
I'm having trouble passing a secret to build a Docker image through GitHub Actions. Even when I set the variable containing the secret as an environment variable, it seems like the secret is not being ...
0
votes
1
answer
99
views
Alternatives to `docker commit` in this scenario?
I'm trying to build a Docker image (based on debian:latest) for cross compilation. One step within this process is the creation of a cross-compilation sysroot, which involves running the following ...
0
votes
1
answer
372
views
Docker build fails when calling RUN pip install --no-cache-dir -r requirements.txt
Updates:
Updating runc to (latest Dedian Bullseye-version) v1.0.0-rc93 did not help
Updating to latest docker version (27.3.1) did not help
Changing Dockerfile RUNline to individual imports (say pip ...
2
votes
1
answer
406
views
How to start a docker container inside a Docker build process
I'm trying to start a docker container inside the docker build process.
I'm trying to build and pack one project inside a Docker container but its build process internally requires a running docker to ...
1
vote
1
answer
218
views
The Visual Studio Docker build is not working. It fails when I build in Release mode
The projects that are not loading are on the same level as the Auth.Api project. Debug build is okay, but release build is not.
Docker file:
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER app
...
0
votes
1
answer
1k
views
stop docker build in case of WARN level log messages
I am building multiple Docker images from a bash script and I would like to stop the process if a WARN level build message appears.
As I see the exit code of the docker build is zero despite I have ...
1
vote
1
answer
510
views
Pipeline variables not expanding in Docker build args
I am trying to pass today’s date to a Dockerfile using a —build-arg in the Azure DevOps Docker@2 task. However, whenever I pass the variable, it doesn’t expand.
I have a template file for variables ...
0
votes
0
answers
234
views
GitHub action docker build (self-hosted runner) hanging on poetry install with private repo
I've deployed github-action-runnet-set helm chart to use GitHub Actions for my organization. My goal is to have the runner builds a Docker image, then push it to private registry.
I installed github-...
0
votes
1
answer
77
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 ...