Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
40 views

How to Optimize Docker Multi-Stage Build for Faster node_modules Copy?

I'm trying to optimize my Docker multi-stage build for a Node.js application, specifically focusing on reducing the time taken to copy node_modules. Currently, the step that copies node_modules from ...
Bako's user avatar
  • 60
1 vote
0 answers
8 views

Error response from daemon: could not select device driver "nvidia" with capabilities: [[utility compute]]

I'm trying to build a docker for realtime-whiper. The build process finishes successflly but at the end it gives this error: Error response from daemon: could not select device driver "nvidia&...
Ali Zekai Deveci's user avatar
-2 votes
0 answers
17 views

Replace webserver docker image with an own one [closed]

For infrastructure purpose, we are using an own webserver Docker image from our own Dockerfile. Is there any recommended way to use an own Docker image for webserver and replace the default one by ...
technergy's user avatar
  • 254
1 vote
0 answers
26 views

Custom Container on Vertex AI Returns "405 Method Not Allowed" for /predict Endpoint

I'm encountering an issue when deploying my custom container on Vertex AI. Locally my Flask server (running via Gunicorn) works perfectly—both the /predict and /health endpoints respond as expected. ...
Giulio Manuzzi's user avatar
-1 votes
0 answers
54 views

Symfony Docker Nginx error : File not found

I am a beginner in Docker and I am trying to create a Symfony project with a basic configuration such as a MariaDB database, a mailpit and administrator to consult my database in a dev environment. To ...
Matthieu Le Verger's user avatar
-2 votes
0 answers
26 views

putting fullstack (frontend and backend) repo into single docker container [closed]

I have a two folders (frontend and backend) for my git repo. For best performance, should I put the fullstack repo into a single docker container or have different repos for client and server (i.e 2 ...
mlo_dev's user avatar
0 votes
0 answers
13 views

I can't set up artifact location on docker compose [mlflow & mlflow-recipes]

I am using mlflow recipes to build a classification model. However, I coulnd't set well artifact_location on local.yaml. On my local.yaml file when I set as shown as below on my PC, it works perfectly ...
Serdar Akyol's user avatar
-2 votes
0 answers
29 views

I can't solve this docker error. Can someone help me? [closed]

Here's a link to the dockerfiles and errors I ran into:https://gist.github.com/Enigma014/9e7938b5ea36b9f45872e52af4949dfe Link to the project incase you want to check the project structure: https://...
Izma's user avatar
  • 1
0 votes
2 answers
38 views

Installed a package via Pip but it is not found when executing the image

With this Dockerfile: # Base image FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel # Set working directory WORKDIR /workspace ENV HOME=/workspace # Add our job's file to this directory ADD . /...
Addon's user avatar
  • 95
0 votes
0 answers
16 views

What is the file structure of a .NET 8 app deployed to a Linux image via Docker

For this project I'm working on I have a .CSV file of Active Directory listings located as follows in the project (This is a work project so file structure has been made anonymous): {project directory}...
Joe King's user avatar
0 votes
1 answer
22 views

what is causing NuqsAdapter not to be found?

I'm using next and I was doing some tests to see how the project behaved running it in Docker, but the project can't start because it doesn't find two modules, NuqsAdapter and Toaster from shadcn ...
brenno amaral's user avatar
-1 votes
0 answers
56 views

Building applications: Monorepo + Turborepo + Dockerfile + Next.js + pnpm

I am having trouble to deploy my applications inside my mono repo. The goal is to build a docker image for each app. The docker building process fails over the step where next is building the ...
Sam's user avatar
  • 21
0 votes
1 answer
27 views

After building docker image and running the container I am missing a folder

Thanks to @ziyang-liu-msft I managed to deploy the image to the Azure registry in the previous post. What I see now is that after I pull the image and try to start the container, there is a folder ...
Sergio's user avatar
  • 147
0 votes
0 answers
46 views

Unable to create Docker Windows Image no matter what I do

I have the following Dockerfile # Use a Windows base image FROM mcr.microsoft.com/windows/servercore:ltsc2022 # Set environment variables ENV ANDROID_HOME="C:/android-sdk" ENV PATH="C:/...
MrJay's user avatar
  • 39
-2 votes
0 answers
14 views

Simple error: Hugging Face Dockerfile Specific , directory error

# ✅ Step 1: Use a lightweight Python image FROM python:3.10-slim # ✅ Step 2: Create a non-root user for better security RUN useradd -m -u 1000 user # ✅ Step 3: Install Git (needed for cloning) ...
Anup Singh's user avatar
-3 votes
1 answer
36 views

Docker container exit automatically [closed]

I am building docker containers. I used below sample dockerfile for building. # Stage 1: Build stage FROM ubuntu:latest AS build # Install build-essential for compiling C++ code RUN apt-get update &...
siddharthav's user avatar
0 votes
0 answers
35 views

Error Running podman-compose with uv run on macOS: Permission Denied for pyproject.toml

I’m running a project that uses podman-compose along with uv to manage containerized environments. However, I’m facing a permission issue when trying to build and run the containers. I’ve followed the ...
JustAGirl's user avatar
0 votes
0 answers
25 views

Unable to install ydf on Docker on Python image

I want to use the ydf package in a docker image, but every time I try to build Docker Image of Python with ydf package I get this error: 1.699 ERROR: Could not find a version that satisfies the ...
Nicolas Guilland's user avatar
0 votes
0 answers
16 views

While starting the Docker container for the REST API (Laravel + Vue 3), I encountered an error in the frontend container

I'm setting up a Laravel + Vue 3 REST API project in Docker using docker-compose.yml, but I'm encountering an issue when starting the frontend container. Setup Details: Backend: Laravel (PHP) ...
Madhushan Sandanruwan's user avatar
-1 votes
0 answers
28 views

Why I get error "Are you trying to mount a directory onto a file" on running Docker container?

Could you help me please. I made thid Dockerfile for Go project. Used variant from documentation. FROM golang:1.23.3 AS build-stage WORKDIR /app COPY . . RUN go mod download RUN CGO_ENABLED=1 GOOS=...
omg megic's user avatar
0 votes
1 answer
54 views

AzureDevops build and deploy docker image with nuget package giving the error: error NU1301: Unable to load the service index for source

I am trying to build and push a docker image. This is giving me an error error NU1301: Unable to load the service index for source The folder structure is as follows: src/appfolder/ In the appfolder I ...
Sergio's user avatar
  • 147
-1 votes
0 answers
16 views

Optimizing Multi-Stage Docker Builds for Large Microservices Architecture [closed]

I am working on a large-scale microservices application where each service has its own Dockerfile. To optimize build times and reduce image sizes, I am using multi-stage builds along with BuildKit and ...
moinmaroofi's user avatar
-1 votes
1 answer
35 views

How to Fix 'SQLite OperationalError: Attempt to Write a Read-Only Database' in a Dockerized Flask App

I want to use sqlite db in docker container but when I try to add or change data I get this error Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/flask/app....
Dima's user avatar
  • 13
0 votes
0 answers
41 views

mise install fails with timeout in docker build #4517

I have this dockerfile for reproduction # Dockerfile: docker(1) container build file. ARG UBUNTU_DIST=24.04 FROM ubuntu:${UBUNTU_DIST} RUN apt-get update \ && apt-get -y --no-install-...
Nafaa Boutefer's user avatar
0 votes
0 answers
50 views

Python libraries installation in Docker ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE

I am trying to build a Docker image from a Dockerfile but I am struggling with the dependencies installation. The goal is to deploy a Streamlit app using a Docker. All libraries utilized to process ...
davipeix's user avatar
0 votes
0 answers
20 views

How to troubleshoot image building issues

I have a project that has the following error when building an image COPY /data/docker/dockerbuildxxxx/contrib/docker/agent/debug-agent /bin/debug-agent not found Part of the Dockerfile is as follows ...
moluzhui's user avatar
  • 1,093
0 votes
1 answer
26 views

Create and Run a Docker Image for Java Application with Packages

I have managed to setup and run a Docker Image for a simple Hello World Java console application, but I am struggling with it when I add packages. I have this working: Folder contents: Dockerfile ...
Jude's user avatar
  • 11
0 votes
1 answer
63 views

devcontainer features dependencies overrides Docker commands

I am trying to configure a new Rails application using devcontainer and this is my Dockerfile at .devcontainer file: # Make sure RUBY_VERSION matches the Ruby version in .ruby-version ARG RUBY_VERSION=...
Isabela Porto's user avatar
0 votes
0 answers
38 views

Docker compose for Laravel v11 project

My Dockerfile: FROM php:8.3-fpm RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ unzip \ libpq-dev \ libonig-dev \ libssl-dev \ libxml2-dev \ ...
NoTProgger's user avatar
1 vote
0 answers
35 views

VSCode with Docker Extension: Using shortcuts in Docker Container

How can I achieve using shortcuts in VSCode and invoke them in a docker container terminal? For instance. I run a Image Y. Now the terminal turns into docker cli. Now I want to have a button in VSCode ...
user19471767's user avatar
-1 votes
0 answers
49 views

Azure DevOps Pipeline Intermittent Issues [closed]

Azure DevOps Pipeline is having intermittent issues which have no rhyme or reason as sometimes it fails and other times it works with no changes Hi, I'm experiencing a frustrating intermittent issue ...
Jamie Talbot's user avatar
0 votes
1 answer
39 views

Has anyone managed to install ggpubr in the Docker container rocker/r-base? Or are there any containers with ggpubr already installed?

I am new to Docker, but I am trying to install ggpubr and ggplot2 in rocker/r-base container and I cannot install ggpubr. I believe it may be an issue with the dependencies possibly although I have ...
LadyG's user avatar
  • 41
-1 votes
0 answers
21 views

Cannot connect to localhost for redash (Using Docker)

Error on docker and end point for redash Any ideas what can be the problem? I am using docker for my local Redash, which can cause the issue. Here is my docker-compose file: While setting up redash ...
Wajahat kayani's user avatar
-3 votes
0 answers
25 views

Django - PostgreSQL docker - authentication issue [duplicate]

I've been trying to set up my first Django and PostgreSQL project with Docker containers. I followed this setup and everything went as expected: https://learndjango.com/tutorials/django-docker-and-...
Lucas's user avatar
  • 1
1 vote
3 answers
67 views

Docker Build does not pass secret via --mount=type=secret

Problem I am using docker/build-push-action@v6 in a GitHub Actions pipeline to build a Docker image. I am trying to pass a pip.conf file as a secret during the build, but --mount=type=secret cannot ...
Nico's user avatar
  • 115
0 votes
0 answers
201 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 ...
LghDuong's user avatar
0 votes
0 answers
46 views

Docker 'FROM scratch' multi-stage build not copying between

# golang:1.24.0-alpine3.21 using manifest digest (linux/amd64) FROM --platform=linux/amd64 golang:1.24.0-alpine3.21@sha256:2d40d4fc278dad38be0777d5e2a88a2c6dee51b0b29c97a764fc6c6a11ca893c AS builder ...
Ravi Parekh's user avatar
  • 5,622
0 votes
1 answer
156 views

Error on PHP 8.4-fpm IMAP package install with Dockerfile

In my Dockerfile for php8.4-fpm i am installing IMAP package with the following commands: FROM php:8.4-fpm [...] RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ ...
Igor's user avatar
  • 1,182
0 votes
1 answer
31 views

Prevent Renovate Bot from updating AlmaLinux 8 to 9 in multiple Dockerfiles

I have configured Renovate Bot in my self-hosted GitLab CE instance using a renovate.json file. My project contains two different Dockerfiles located at: project root /build-1/Dockerfile /...
Jasper's user avatar
  • 161
0 votes
1 answer
39 views

Forcing traefik to listen on a port different to 80, 8080, 443

I have a docker container named nodeserver that exposes port 3060. I created the next docker-compose.yml to run a node js program that exist in the nuc0c.cn.lan:5000/node_request:0.0.1 image. This ...
Jose Cabrera Zuniga's user avatar
0 votes
0 answers
37 views

How to optimize dockerfile when using docker.sock

I am building a java project inside a dockerfile using the maven package. At the same time, integration tests written using Testcontainers are launched. But the problem is that these tests require the ...
Steffano Aravico's user avatar
0 votes
1 answer
38 views

Changing WORKDIR in Dockerfile prevents from using pip install requierments.txt correctly

I have this code: FROM python:3.10-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY ./app /app/app CMD ["uvicorn", "app.main:app"...
Ilya LFBenta Saint's user avatar
0 votes
2 answers
77 views

How to pass Environment Variables from docker compose

I have a rust Axum application that reads database URL at the very beginning to create database connection: async fn main() { let db_connection_str = std::env::var("DATABASE_URL").expect(...
Kadiem Alqazzaz's user avatar
0 votes
0 answers
39 views

Docker file fail to load image

I have the following docker file: ARG TARGETPLATFORM=linux/amd64 FROM --platform=$TARGETPLATFORM clamav/clamav:1.4.2 COPY ./cert/1.crt /usr/local/share/ca-certificates COPY ./cert/2.crt /usr/local/...
Muhammad Bekette's user avatar
0 votes
1 answer
91 views

Receiving following error during build - Type error: Type '{ children: ReactNode; }' does not satisfy the constraint 'LayoutProps'

Current node.js version: 20.18.0 I'm building my Next.js application on a remote server using Docker. The error occurs when the container runs the Dockerfile, specifically during "npm run build&...
CrayonAzul's user avatar
0 votes
0 answers
50 views

How to include a Rust git repo as a dependency for a snakemake rule?

Let's just say the snakemake project looks like this now: smk_project ├── config ├── Snakefile ├── input ├── resources │ └── tool_foo │ ├── Cargo.lock │ ├── Cargo.toml │ ...
Justin Zhang's user avatar
1 vote
1 answer
79 views

Dockerfile for SSH using alpine as base image? [closed]

How do I setup an Alpine Linux Docker image for SSH access? - Tried following this guide: https://dev.to/yakovlev_alexey/running-ssh-in-an-alpine-docker-container-3lop Specifically: # Create SSH ...
Samuel Marks's user avatar
  • 1,884
-2 votes
0 answers
45 views

Unable to run MSSQL in my docker container. Stops running after few secs

I am a newbie to Docker. I am using MAC to run docker Container for my application. The mssql service start for a few seconds and stops immediately. Below is the service code from YAML file. # # ...
GauravK's user avatar
  • 15
-1 votes
1 answer
46 views

Set locale in ansible managed docker-compose

So i have been trying to figure out for a week now on how to set locale inside my docker container postgres using dockerfile and so far with 0 success. The playbook itself does not fail but it also ...
Mairold Kunimägi's user avatar
-1 votes
1 answer
48 views

DockerFile RUN command not CACHED

I'm new to docker and trying to create a docker image for a opencv project. FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive ENV CMAKE_VERSION=3.21.5 # Update and upgrade packages RUN apt update ...
Johnny Bakker's user avatar

1
2 3 4 5
327