# Docker

**URL:** https://forum.buildkite.community/c/docker/42.md

[Latest](https://forum.buildkite.community/latest.md) · [Categories](https://forum.buildkite.community/categories.md)

---

## [ERROR: not enough memory available to start process](https://forum.buildkite.community/t/error-not-enough-memory-available-to-start-process/4308)

<div class="topic-metadata">

**Author:** [@bekabaizhan](https://forum.buildkite.community/u/bekabaizhan)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 12:35am UTC](https://forum.buildkite.community/t/error-not-enough-memory-available-to-start-process/4308 "2025-03-18T00:35:34Z")

</div>

Hello there, I started facing in the build step: Starting build… ERROR: not enough memory available to start process when I want to promote an app release using convox.

---

## [Looking for Some Best Practices for Managing Docker Images in Buildkite Pipelines?](https://forum.buildkite.community/t/looking-for-some-best-practices-for-managing-docker-images-in-buildkite-pipelines/3940)

<div class="topic-metadata">

**Author:** [@derektheler112](https://forum.buildkite.community/u/derektheler112)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 10:24pm UTC](https://forum.buildkite.community/t/looking-for-some-best-practices-for-managing-docker-images-in-buildkite-pipelines/3940 "2024-09-25T22:24:12Z")

</div>

Hello everyone, I am looking for advice on how to effectively manage Docker images within Buildkite pipelines. Recently, I have run into a few challenges related to optimizing image sizes and improving overall pipeline …

---

## [Unable to upload docker volume as artifact](https://forum.buildkite.community/t/unable-to-upload-docker-volume-as-artifact/3593)

<div class="topic-metadata">

**Author:** [@jasonx](https://forum.buildkite.community/u/jasonx)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 2:51am UTC](https://forum.buildkite.community/t/unable-to-upload-docker-volume-as-artifact/3593 "2024-03-18T02:51:21Z")

</div>

Using default elastic-ci settings as far as permissions go, and I have a docker-compose file which looks roughly like: version: "3" services: database: image: "public.ecr.aws/docker/library/postgres:13.7-bullseye"…

---

## [Default location of pushed images?](https://forum.buildkite.community/t/default-location-of-pushed-images/3589)

<div class="topic-metadata">

**Author:** [@jasonx](https://forum.buildkite.community/u/jasonx)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 11:40pm UTC](https://forum.buildkite.community/t/default-location-of-pushed-images/3589 "2024-03-13T23:40:00Z")

</div>

Say you have the simple example configuration from the docs: steps: - label: ":docker: Build" plugins: - docker-compose#v5.2.0: build: app push: app Where does this image get pushed to?

---

## [Multi-architecture builds using Docker Compose](https://forum.buildkite.community/t/multi-architecture-builds-using-docker-compose/3527)

<div class="topic-metadata">

**Author:** [@wgrrrr](https://forum.buildkite.community/u/wgrrrr)\
**Replies:** 6\
**Last updated:** [February 7, 2024, 12:18am UTC](https://forum.buildkite.community/t/multi-architecture-builds-using-docker-compose/3527 "2024-02-07T00:18:14Z")

</div>

I am trying to build and push amd64 and arm64 images using Docker Compose. My docker-compose.yml looks like this: version: '3.8' services: ruby-3.1: build: context: . dockerfile: 3.1/Dockerfile p…

---

## [Running gradlew command from docker plugin does not work](https://forum.buildkite.community/t/running-gradlew-command-from-docker-plugin-does-not-work/3532)

<div class="topic-metadata">

**Author:** [@ldev654](https://forum.buildkite.community/u/ldev654)\
**Replies:** 7\
**Last updated:** [February 5, 2024, 11:54pm UTC](https://forum.buildkite.community/t/running-gradlew-command-from-docker-plugin-does-not-work/3532 "2024-02-05T23:54:13Z")

</div>

Hello, I have a java application in gradle. I have managed to setup an agent running on Linux (with docker socket volume attached) and the pipeline has a simple step of uploading the pipeline.yml file. In my project, t…

---

## [Docker Compose Cache Issue](https://forum.buildkite.community/t/docker-compose-cache-issue/3443)

<div class="topic-metadata">

**Author:** [@oh-tarnished](https://forum.buildkite.community/u/oh-tarnished)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 8:47pm UTC](https://forum.buildkite.community/t/docker-compose-cache-issue/3443 "2023-12-21T20:47:40Z")

</div>

Hello There, i’m facing another issue with docker-compose using cached images. Context Following up on the previously reported issue, we are still experiencing problems with Docker image tagging and pushing in our Build…

---

## [Running Pre-Hook Scripts Before Each Container Startup and Ensuring Persistent Volume Mounting for Caching](https://forum.buildkite.community/t/running-pre-hook-scripts-before-each-container-startup-and-ensuring-persistent-volume-mounting-for-caching/3412)

<div class="topic-metadata">

**Author:** [@oh-tarnished](https://forum.buildkite.community/u/oh-tarnished)\
**Replies:** 4\
**Last updated:** [December 21, 2023, 6:14pm UTC](https://forum.buildkite.community/t/running-pre-hook-scripts-before-each-container-startup-and-ensuring-persistent-volume-mounting-for-caching/3412 "2023-12-21T18:14:45Z")

</div>

Title: Optimizing Docker Container Setup for Buildkite Agents with Pre-Hooks and Persistent Caching Context In our CI/CD setup, we are utilizing Buildkite with multiple agents (4 agents) inside a single instance. Our wor…

---

## [Testcontainers docker runtime](https://forum.buildkite.community/t/testcontainers-docker-runtime/3312)

<div class="topic-metadata">

**Author:** [@generateui](https://forum.buildkite.community/u/generateui)\
**Replies:** 1\
**Last updated:** [October 19, 2023, 7:49pm UTC](https://forum.buildkite.community/t/testcontainers-docker-runtime/3312 "2023-10-19T19:49:04Z")

</div>

Hi! We’d like to use (dotnet) testcontainers to run tests in a pipeline step. According to their docs on https://dotnet.testcontainers.org/: System requirements Testcontainers requires a Docker-API compatible container…

---

## [Docker-compose plugin fails to push](https://forum.buildkite.community/t/docker-compose-plugin-fails-to-push/3274)

<div class="topic-metadata">

**Author:** [@matbaker](https://forum.buildkite.community/u/matbaker)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 10:23pm UTC](https://forum.buildkite.community/t/docker-compose-plugin-fails-to-push/3274 "2023-09-29T22:23:39Z")

</div>

I have a very simple Buildkite pipeline using the docker-compose plugin as follows: steps: - label: ":docker: Push to :ecr: repository" plugins: - docker-compose#v4.14.0: push: - app:1234…

---

## [How to Make Docker Compose Use Same Running Instance?](https://forum.buildkite.community/t/how-to-make-docker-compose-use-same-running-instance/3093)

<div class="topic-metadata">

**Author:** [@muratgozel](https://forum.buildkite.community/u/muratgozel)\
**Replies:** 4\
**Last updated:** [August 10, 2023, 3:39pm UTC](https://forum.buildkite.community/t/how-to-make-docker-compose-use-same-running-instance/3093 "2023-08-10T15:39:20Z")

</div>

Hi again, After successfully testing and starting with buildkite pipelines, I created a pipeline based on docker-compose: steps: - label: "Create docker image" plugins: - docker-compose#v4.14.0: …

---

## [The Docker Buildkite Plugin](https://forum.buildkite.community/t/the-docker-buildkite-plugin/2435)

<div class="topic-metadata">

**Author:** [@Joe](https://forum.buildkite.community/u/Joe)\
**Replies:** 1\
**Last updated:** [December 5, 2022, 9:57pm UTC](https://forum.buildkite.community/t/the-docker-buildkite-plugin/2435 "2022-12-05T21:57:18Z")

</div>

Docker Buildkite Plugin Docker Buildkite Plugin can someone point me to an example to use ssh-agent inside buildkite docker plugin

---

## [How to skip build when skip-checkout true for docker-compose plugin](https://forum.buildkite.community/t/how-to-skip-build-when-skip-checkout-true-for-docker-compose-plugin/2130)

<div class="topic-metadata">

**Author:** [@tetienne](https://forum.buildkite.community/u/tetienne)\
**Replies:** 3\
**Last updated:** [July 12, 2022, 7:41am UTC](https://forum.buildkite.community/t/how-to-skip-build-when-skip-checkout-true-for-docker-compose-plugin/2130 "2022-07-12T07:41:50Z")

</div>

My goal is to speed up our test pipeline. For this, I first build our images, then in a 2nd step, pull them and execute our tests. In this 2nd step, I want to skip the checkout as it last 30s or more (we are using a mono…

---

## [BUILDKITE\_JOB\_ID, parallelism and docker-compose, always the same value](https://forum.buildkite.community/t/buildkite-job-id-parallelism-and-docker-compose-always-the-same-value/2126)

<div class="topic-metadata">

**Author:** [@tetienne](https://forum.buildkite.community/u/tetienne)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 12:43pm UTC](https://forum.buildkite.community/t/buildkite-job-id-parallelism-and-docker-compose-always-the-same-value/2126 "2022-07-05T12:43:02Z")

</div>

Hi, When running a command in parallel, I can well see distinct BUILDKITE\_JOB\_ID value for each parallel job. But, when using the docker-compose plugin, the given value for BUILDKITE\_JOB\_ID is always the same, and does…

---

## [Can we access Meta Data in docker container?](https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999)

<div class="topic-metadata">

**Author:** [@meg](https://forum.buildkite.community/u/meg)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 1:34pm UTC](https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999 "2022-04-25T13:34:56Z")

</div>

Can we access and set Meta Data from inside a docker container using the standard docker plugin? I would like to pass short variables between jobs, some of the values need to set by scripts inside the docker container. I…

---

## [Security Recommendations on agents with docker](https://forum.buildkite.community/t/security-recommendations-on-agents-with-docker/1416)

<div class="topic-metadata">

**Author:** [@jorgecarleitao](https://forum.buildkite.community/u/jorgecarleitao)\
**Replies:** 2\
**Last updated:** [January 14, 2021, 6:57am UTC](https://forum.buildkite.community/t/security-recommendations-on-agents-with-docker/1416 "2021-01-14T06:57:01Z")

</div>

I have a VM that I want to use to run buildkite on an open source project, both for the master (post-review) and PRs (pre-review), and I would like to offer the dockerization experience to the users via the docker plugin…

---

## [Git mirrors and docker](https://forum.buildkite.community/t/git-mirrors-and-docker/1256)

<div class="topic-metadata">

**Author:** [@ngan](https://forum.buildkite.community/u/ngan)\
**Replies:** 2\
**Last updated:** [September 28, 2020, 4:15pm UTC](https://forum.buildkite.community/t/git-mirrors-and-docker/1256 "2020-09-28T16:15:04Z")

</div>

Hi BK team, I would love to get your feedback and advice on using the agent’s git mirror experimental feature with pipelines that use docker(-compose). Inside the container, we are unable to do any git operations since …

---

## [Handling Docker Hub timeouts on docker-login](https://forum.buildkite.community/t/handling-docker-hub-timeouts-on-docker-login/1121)

<div class="topic-metadata">

**Author:** [@geoffharcourt](https://forum.buildkite.community/u/geoffharcourt)\
**Replies:** 4\
**Last updated:** [June 27, 2020, 6:07pm UTC](https://forum.buildkite.community/t/handling-docker-hub-timeouts-on-docker-login/1121 "2020-06-27T18:07:31Z")

</div>

We’ve been using Buildkite for a few weeks, and have gotten a lot of benefit out of it for our CI pipeline. We have a remaining source of build flakiness that we want to figure out how to better handle. We have kind of …

---

## [Docker V2, cant seem execute command passed in from steps in YAML](https://forum.buildkite.community/t/docker-v2-cant-seem-execute-command-passed-in-from-steps-in-yaml/368)

<div class="topic-metadata">

**Author:** [@ftaran](https://forum.buildkite.community/u/ftaran)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 11:02pm UTC](https://forum.buildkite.community/t/docker-v2-cant-seem-execute-command-passed-in-from-steps-in-yaml/368 "2019-03-17T23:02:46Z")

</div>

I have defind my steps and am using the v2 version and do have a docker file, but it seems that everytime the container runs it fails to execute the command passed in through the yaml decleration. my intent is to have a…
