# Image Builds

**URL:** https://forums.docker.com/c/image-builds/105.md

[Latest](https://forums.docker.com/latest.md) · [Categories](https://forums.docker.com/categories.md) · [Tags](https://forums.docker.com/tags.md)

---

## [About the Image Builds category](https://forums.docker.com/t/about-the-image-builds-category/144750)

<div class="topic-metadata">

**Author:** [@evabojorges](https://forums.docker.com/u/evabojorges)\
**Replies:** 0\
**Last updated:** [October 31, 2024, 7:20pm UTC](https://forums.docker.com/t/about-the-image-builds-category/144750 "2024-10-31T19:20:24Z")

</div>

Building your images

---

## [Docker python app container fails to connect to mariadb contrainer](https://forums.docker.com/t/docker-python-app-container-fails-to-connect-to-mariadb-contrainer/152808)

<div class="topic-metadata">

**Author:** [@damovand](https://forums.docker.com/u/damovand)\
**Replies:** 7\
**Last updated:** [November 17, 2026, 5:18pm UTC](https://forums.docker.com/t/docker-python-app-container-fails-to-connect-to-mariadb-contrainer/152808 "2026-11-17T17:18:14Z")

</div>

I am creating my first dockerized python/flask/mariadb application based on the same structure as in docker/awesome-compose/nginx-flask-mysql. But I have created the images with different versions of python and mariad…

---

## [Can We Remove Shell Access and User-Level Commands from a Docker Image After Building to Prevent Tampering?](https://forums.docker.com/t/can-we-remove-shell-access-and-user-level-commands-from-a-docker-image-after-building-to-prevent-tampering/152673)

<div class="topic-metadata">

**Author:** [@toufikj](https://forums.docker.com/u/toufikj)\
**Replies:** 1\
**Last updated:** [October 31, 2026, 2:30pm UTC](https://forums.docker.com/t/can-we-remove-shell-access-and-user-level-commands-from-a-docker-image-after-building-to-prevent-tampering/152673 "2026-10-31T14:30:38Z")

</div>

Hi everyone, I have a question regarding Docker image security and would appreciate some guidance. Is it possible to remove or disable user-level commands, shell access, package managers, and other interactive utilitie…

---

## [I'm trying to update a docker wordpress container to include php8.4.27 from ppa:ondrej/php](https://forums.docker.com/t/im-trying-to-update-a-docker-wordpress-container-to-include-php8-4-27-from-ppa-ondrej-php/152628)

<div class="topic-metadata">

**Author:** [@hollandnumerics](https://forums.docker.com/u/hollandnumerics)\
**Replies:** 3\
**Last updated:** [October 28, 2026, 6:09pm UTC](https://forums.docker.com/t/im-trying-to-update-a-docker-wordpress-container-to-include-php8-4-27-from-ppa-ondrej-php/152628 "2026-10-28T18:09:57Z")

</div>

I’m trying to update a docker wordpress container to include php8.4.27 from ppa:ondrej/php. I installed php8.4.27 on my host Ubuntu server using add-apt-repository and apt install php8.4 I tried to do the same in this …

---

## [Building (custom) Docker Hardened Images from behind a proxy](https://forums.docker.com/t/building-custom-docker-hardened-images-from-behind-a-proxy/152355)

<div class="topic-metadata">

**Author:** [@hex7cd](https://forums.docker.com/u/hex7cd)\
**Replies:** 7\
**Last updated:** [September 10, 2026, 4:22pm UTC](https://forums.docker.com/t/building-custom-docker-hardened-images-from-behind-a-proxy/152355 "2026-09-10T16:22:33Z")

</div>

I’m currently trying to get the build process for Docker Hardened Images to work inside a corporate network that requires a proxy to reach the internet. My user as well as the docker daemon have been set up with http pr…

---

## [Disk space issues on apt install while building container](https://forums.docker.com/t/disk-space-issues-on-apt-install-while-building-container/152222)

<div class="topic-metadata">

**Author:** [@adminrhinos](https://forums.docker.com/u/adminrhinos)\
**Replies:** 16\
**Last updated:** [August 14, 2026, 12:12pm UTC](https://forums.docker.com/t/disk-space-issues-on-apt-install-while-building-container/152222 "2026-08-14T12:12:00Z")

</div>

I am experiencing issues when I try to build some containers. The containers that I try to build are not fancy or anything. I am on a Mac, I am using Tahoe. The Dockerfile is using php:8.5-apache-trixie, and it fails wh…

---

## [Getting the jdk path](https://forums.docker.com/t/getting-the-jdk-path/152177)

<div class="topic-metadata">

**Author:** [@boomramada](https://forums.docker.com/u/boomramada)\
**Replies:** 3\
**Last updated:** [August 2, 2026, 10:59am UTC](https://forums.docker.com/t/getting-the-jdk-path/152177 "2026-08-02T10:59:25Z")

</div>

If I got following dockerfile FROM quay.io/centos7/openjdk-17-centos7 How do I get the location of the JDK within the dockfile? as I want to update a file in the JDK within the container. Alternatively, can I speci…

---

## [Set provenance false in bake files](https://forums.docker.com/t/set-provenance-false-in-bake-files/152020)

<div class="topic-metadata">

**Author:** [@cgoia](https://forums.docker.com/u/cgoia)\
**Replies:** 1\
**Last updated:** [July 10, 2026, 4:58pm UTC](https://forums.docker.com/t/set-provenance-false-in-bake-files/152020 "2026-07-10T16:58:56Z")

</div>

Hello, My question is, are attest = \[ "type=provenance,disable=false" \] and --provenance false the same? Also is this the correct way to build an image for aws ecr ? if there is a correct way. For more context, pushe…

---

## [My initial build attempt fails with temporary DNS failure](https://forums.docker.com/t/my-initial-build-attempt-fails-with-temporary-dns-failure/151922)

<div class="topic-metadata">

**Author:** [@chriskot](https://forums.docker.com/u/chriskot)\
**Replies:** 7\
**Last updated:** [June 23, 2026, 5:27pm UTC](https://forums.docker.com/t/my-initial-build-attempt-fails-with-temporary-dns-failure/151922 "2026-06-23T17:27:32Z")

</div>

I don’t know much about docker so expect some uninformed questions. I have Ubuntu 24.04 LTS running Docker Desktop, The Docker Desktop I downloaded from Install Docker Desktop on Linux | Docker Docs. Docker version $ do…

---

## [Docker can’t install build essentials error](https://forums.docker.com/t/docker-can-t-install-build-essentials-error/151863)

<div class="topic-metadata">

**Author:** [@lotoen](https://forums.docker.com/u/lotoen)\
**Replies:** 2\
**Last updated:** [June 16, 2026, 9:07am UTC](https://forums.docker.com/t/docker-can-t-install-build-essentials-error/151863 "2026-06-16T09:07:36Z")

</div>

Hi, I’m on Linux Mint 22.3 - Cinnamon 64-bit, and I encountered an error when trying to build an elixir phoenix container 577.1 Reading package lists... 577.1 Building dependency tree... 577.1 Reading state information…

---

## [Volume dependent file install - Ignition 8.3, MQTT Transmission/Engine, Third Party Modules](https://forums.docker.com/t/volume-dependent-file-install-ignition-8-3-mqtt-transmission-engine-third-party-modules/151769)

<div class="topic-metadata">

**Author:** [@cmgick](https://forums.docker.com/u/cmgick)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 4:00pm UTC](https://forums.docker.com/t/volume-dependent-file-install-ignition-8-3-mqtt-transmission-engine-third-party-modules/151769 "2026-05-29T16:00:31Z")

</div>

I am currently working on a project that spins up several Inductive Automation Ignition 8.3.6 containers and makes use of the third party MQTT Transmission and MQTT Engine modules. In previous version of Ignition the mo…

---

## [Feedback about one created Dockerfile](https://forums.docker.com/t/feedback-about-one-created-dockerfile/151672)

<div class="topic-metadata">

**Author:** [@doerrust](https://forums.docker.com/u/doerrust)\
**Replies:** 2\
**Last updated:** [May 12, 2026, 1:55pm UTC](https://forums.docker.com/t/feedback-about-one-created-dockerfile/151672 "2026-05-12T13:55:18Z")

</div>

Hi everyone This is the Dockerfile I created to containerise my Rust CLI project. I’d really appreciate any feedback or suggestions on how I could improve it. It’s the first Dockerfile I’ve written completely on my own…

---

## [COPY directive does not seem to copy all files](https://forums.docker.com/t/copy-directive-does-not-seem-to-copy-all-files/151661)

<div class="topic-metadata">

**Author:** [@tiltedkys](https://forums.docker.com/u/tiltedkys)\
**Replies:** 9\
**Last updated:** [May 12, 2026, 2:28am UTC](https://forums.docker.com/t/copy-directive-does-not-seem-to-copy-all-files/151661 "2026-05-12T02:28:10Z")

</div>

Hello, I’ve run into an issue while trying to build an image for fluxer In my dockerfile I have the following: COPY fluxer\_app/ ./fluxer\_app/ COPY config/config.production.template.json /tmp/fluxer-build-config.json …

---

## [How to use ENTRYPOINT or cmd for dockerizer application CLI](https://forums.docker.com/t/how-to-use-entrypoint-or-cmd-for-dockerizer-application-cli/151664)

<div class="topic-metadata">

**Author:** [@doerrust](https://forums.docker.com/u/doerrust)\
**Replies:** 2\
**Last updated:** [May 11, 2026, 5:19pm UTC](https://forums.docker.com/t/how-to-use-entrypoint-or-cmd-for-dockerizer-application-cli/151664 "2026-05-11T17:19:53Z")

</div>

Hello everyone I’ve created a CLI application in Rust and I’m trying to Dockerise it. I want to learn how to Dockerise CLI applications, but I’m not sure how to pass parameters to it. FROM rust:1.95 as builder WORKDIR…

---

## [.dockerignore is ignored when build context is a remote git repo](https://forums.docker.com/t/dockerignore-is-ignored-when-build-context-is-a-remote-git-repo/151500)

<div class="topic-metadata">

**Author:** [@reveler](https://forums.docker.com/u/reveler)\
**Replies:** 5\
**Last updated:** [April 18, 2026, 9:55am UTC](https://forums.docker.com/t/dockerignore-is-ignored-when-build-context-is-a-remote-git-repo/151500 "2026-04-18T09:55:46Z")

</div>

When I build an image from the local directory COPY . . in the Dockerfile copies all files except those listed in .dockerignore. But when I build an image it by providing the URL to a git repo I have on codeberg, all fi…

---

## [Injecting Environment Variables into Secret-Mounted .npmrc in Docker](https://forums.docker.com/t/injecting-environment-variables-into-secret-mounted-npmrc-in-docker/151499)

<div class="topic-metadata">

**Author:** [@dockerizedenigma](https://forums.docker.com/u/dockerizedenigma)\
**Replies:** 1\
**Last updated:** [April 14, 2026, 3:48pm UTC](https://forums.docker.com/t/injecting-environment-variables-into-secret-mounted-npmrc-in-docker/151499 "2026-04-14T15:48:13Z")

</div>

Hello everyone! I’ve just started to learn Docker (three days ago), so, please, bear with me. I have a private NPM module which I can install using .npmrc in a project root folder. The content of .npmrc is the followin…

---

## [Help with Dockerfile springboot](https://forums.docker.com/t/help-with-dockerfile-springboot/151442)

<div class="topic-metadata">

**Author:** [@doerrust](https://forums.docker.com/u/doerrust)\
**Replies:** 3\
**Last updated:** [April 9, 2026, 2:09pm UTC](https://forums.docker.com/t/help-with-dockerfile-springboot/151442 "2026-04-09T14:09:00Z")

</div>

Hello everyone, I’m currently setting up a Spring Boot project using Docker. This is how I’m structuring my Dockerfile, but I’m encountering an issue related to the chmod +x command. I would really appreciate any guida…

---

## [Docker build not successful with Buildpacks](https://forums.docker.com/t/docker-build-not-successful-with-buildpacks/151446)

<div class="topic-metadata">

**Author:** [@sujitray2025](https://forums.docker.com/u/sujitray2025)\
**Replies:** 5\
**Last updated:** [April 6, 2026, 9:35pm UTC](https://forums.docker.com/t/docker-build-not-successful-with-buildpacks/151446 "2026-04-06T21:35:38Z")

</div>

Hi there, while building the image with Buildpacks the below error comes, Kindly let me know, what might be the issue. Thanks, Sujit Ray

---

## [Recommended way to install pip packages inside Dockerfile](https://forums.docker.com/t/recommended-way-to-install-pip-packages-inside-dockerfile/151315)

<div class="topic-metadata">

**Author:** [@whiteman808](https://forums.docker.com/u/whiteman808)\
**Replies:** 2\
**Last updated:** [March 21, 2026, 2:19am UTC](https://forums.docker.com/t/recommended-way-to-install-pip-packages-inside-dockerfile/151315 "2026-03-21T02:19:22Z")

</div>

Hello, I’m learning programming and I’m writing first Python application that does something useful, and practical. What is the recommended way to install pip packages when building Docker images? I’m asking because pip …

---

## [Rebuilding Arch base image with upgraded packages](https://forums.docker.com/t/rebuilding-arch-base-image-with-upgraded-packages/151355)

<div class="topic-metadata">

**Author:** [@whiteman808](https://forums.docker.com/u/whiteman808)\
**Replies:** 3\
**Last updated:** [March 19, 2026, 9:01pm UTC](https://forums.docker.com/t/rebuilding-arch-base-image-with-upgraded-packages/151355 "2026-03-19T21:01:40Z")

</div>

I have recently built official Arch base image by applying instructions from https://wiki.archlinux.org/title/Docker on cloned repository https://gitlab.archlinux.org/archlinux/archlinux-docker.git. Do I need to manually…

---

## [Embedding custom pacman repository in Arch base image](https://forums.docker.com/t/embedding-custom-pacman-repository-in-arch-base-image/151354)

<div class="topic-metadata">

**Author:** [@whiteman808](https://forums.docker.com/u/whiteman808)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 8:37pm UTC](https://forums.docker.com/t/embedding-custom-pacman-repository-in-arch-base-image/151354 "2026-03-19T20:37:45Z")

</div>

I want to push a public image whiteman808/archlinux:base that will be a base image used for my future Dockerfiles and optionally for other users. Is it a good practice to embed in custom base images own repositories? If …

---

## [Building Laravel Production Setup with Docker Compose (Inertia)](https://forums.docker.com/t/building-laravel-production-setup-with-docker-compose-inertia/151232)

<div class="topic-metadata">

**Author:** [@thebinary98](https://forums.docker.com/u/thebinary98)\
**Replies:** 5\
**Last updated:** [March 7, 2026, 9:41pm UTC](https://forums.docker.com/t/building-laravel-production-setup-with-docker-compose-inertia/151232 "2026-03-07T21:41:06Z")

</div>

Hi, I used this guide to build docker for production: But there is issue that I use Inertia (Laravel + React) with Wayfinder (GitHub - laravel/wayfinder) and when nginx tries to build I get this error: 5.544 \[@laravel…

---

## [Docker Image with Update SH Script wget with Wildcards?](https://forums.docker.com/t/docker-image-with-update-sh-script-wget-with-wildcards/151229)

<div class="topic-metadata">

**Author:** [@starfoxfs](https://forums.docker.com/u/starfoxfs)\
**Replies:** 1\
**Last updated:** [February 27, 2026, 9:35pm UTC](https://forums.docker.com/t/docker-image-with-update-sh-script-wget-with-wildcards/151229 "2026-02-27T21:35:24Z")

</div>

Hi, i have a Problem with an Update Bash Script within the Docker Image. I have to use Wildcards with wget for a Download Script because the Download URL changes often. Now i have tested this in the Container itself: …

---

## [CasaOS Issues - Docker Container Help](https://forums.docker.com/t/casaos-issues-docker-container-help/151208)

<div class="topic-metadata">

**Author:** [@kasheeian](https://forums.docker.com/u/kasheeian)\
**Replies:** 3\
**Last updated:** [February 26, 2026, 3:12pm UTC](https://forums.docker.com/t/casaos-issues-docker-container-help/151208 "2026-02-26T15:12:17Z")

</div>

If any pros are bored and can chime in. Im extremely new to Docker - two days in. Running Docker on Windows 11. Getting this error list when in CasaOS: 26T00:51:37.547Z error GetMacAddress {error: not found, func: …

---

## [Database access error on self hosted nextjs docker container](https://forums.docker.com/t/database-access-error-on-self-hosted-nextjs-docker-container/151156)

<div class="topic-metadata">

**Author:** [@hdesma](https://forums.docker.com/u/hdesma)\
**Replies:** 1\
**Last updated:** [February 21, 2026, 5:51am UTC](https://forums.docker.com/t/database-access-error-on-self-hosted-nextjs-docker-container/151156 "2026-02-21T05:51:05Z")

</div>

Hello As part of teaching myself nextjs, I wrote a small roster app for a group I help manage. It’s mostly mugshot + name and title. Those are stored in a small better-sqlite3 db located at the root of my project, and …

---

## [AzureDevops Pipeline build dockerApiVersion 1.24](https://forums.docker.com/t/azuredevops-pipeline-build-dockerapiversion-1-24/151136)

<div class="topic-metadata">

**Author:** [@giallo1234](https://forums.docker.com/u/giallo1234)\
**Replies:** 7\
**Last updated:** [February 18, 2026, 9:11pm UTC](https://forums.docker.com/t/azuredevops-pipeline-build-dockerapiversion-1-24/151136 "2026-02-18T21:11:20Z")

</div>

Hi. I’m having an issue for like, five days straight right now. This is the issue I’m getting when I try to maven build during my pipeline: \[ERROR\] Failed to execute goal org.springframework.boot:spring-boot-maven-plug…

---

## [\# Scudo ERROR: CHECK failed @ primary32.h:182 (Id) \< (NumRegions =\> =\> # ) ((u64)op1=536866445, (u64)op2=268435456)](https://forums.docker.com/t/scudo-error-check-failed-primary32-h-182-id-numregions-u64-op1-536866445-u64-op2-268435456/151083)

<div class="topic-metadata">

**Author:** [@mcandre](https://forums.docker.com/u/mcandre)\
**Replies:** 4\
**Last updated:** [February 17, 2026, 11:11pm UTC](https://forums.docker.com/t/scudo-error-check-failed-primary32-h-182-id-numregions-u64-op1-536866445-u64-op2-268435456/151083 "2026-02-17T23:11:47Z")

</div>

Hi, My buildx builds recently began emitting: =\> \[linux/ppc64le build 5/5\] RUN cargo build --release 27.7s =\> =\> # Scudo ERROR: CHECK failed @ primary32.h:182 (Id) \< (NumRegions =\> =\> # ) ((u64)op1=5368671…

---

## [Merge DHI Docker compose with already existing Cosmos Server compose](https://forums.docker.com/t/merge-dhi-docker-compose-with-already-existing-cosmos-server-compose/151111)

<div class="topic-metadata">

**Author:** [@jamblond](https://forums.docker.com/u/jamblond)\
**Replies:** 3\
**Last updated:** [February 15, 2026, 7:43pm UTC](https://forums.docker.com/t/merge-dhi-docker-compose-with-already-existing-cosmos-server-compose/151111 "2026-02-15T19:43:50Z")

</div>

Hi everyone Here is my issue : I am actualy using Cosmos Cloud and would like to use the DHI version of MediaWiki to have a public self-hosted server of MediaWiki. I would like to keep the already existing docker compos…

---

## [Docker image compabillity between amd64 and x86\_64 platforms](https://forums.docker.com/t/docker-image-compabillity-between-amd64-and-x86-64-platforms/151084)

<div class="topic-metadata">

**Author:** [@keestrommel](https://forums.docker.com/u/keestrommel)\
**Replies:** 5\
**Last updated:** [February 12, 2026, 12:16pm UTC](https://forums.docker.com/t/docker-image-compabillity-between-amd64-and-x86-64-platforms/151084 "2026-02-12T12:16:30Z")

</div>

I have built a docker image (“docker build -t tagname .”) based on debian:bookworm at an amd64 platform. I saved this image (“docker image save \<image id\> | gzip \> image.tgz”). I copied this image to an x68\_64 platform …

---

## [Newbie question containerd runs out of space](https://forums.docker.com/t/newbie-question-containerd-runs-out-of-space/150957)

<div class="topic-metadata">

**Author:** [@bellaireroad](https://forums.docker.com/u/bellaireroad)\
**Replies:** 6\
**Last updated:** [February 3, 2026, 9:26pm UTC](https://forums.docker.com/t/newbie-question-containerd-runs-out-of-space/150957 "2026-02-03T21:26:16Z")

</div>

I’m a docker novice, and running into trouble with containerd running out of space on snapshots. I am running docker on ubuntu server 24.04.3 VM on proxmox Ubuntu server is on a 40G VM I created a 100G disk on the VM …

[Next page](https://forums.docker.com/c/image-builds/105.md?page=1)
