testcontainers / testcontainers/testcontainers-python

Add support for tmpfs mounts

Open
#316 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📦 package: core 🚀 enhancement 🛟 help wanted
Dominant language
Python
Stars
2.3k
Forks
386
Avg merge
4h 40m
Merged PRs (30d)
1

Description

Currently we are using tmpfs mounts with testcontainers-go to speed up bootstraping databases during CI. The data folder of the database gets mounted into a tmpfs mount which speeds up since disk i/o is avoided.

We have some components using python and noticed that testcontainers-python doesnt support tmpfs mounts.

PR for testcontainers-go here: https://github.com/testcontainers/testcontainers-go/pull/131

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the testcontainers-go PR linked in the issue and locating the Python library's container-mount configuration. Confirm how tmpfs mounts should be represented for database data folders, then add coverage showing that a container can be created with the requested mount and that the existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.