testcontainers / testcontainers/testcontainers-java

FileAlreadyExistsException thrown by MountableFile

Open
#4,539 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

I'm using testcontainers version 1.16.0. I'm facing the same problem as mentioned in #419 when starting a container. I'm using Docker Desktop version 3.3.1 (63152) on Windows 10. The issue was fixed back in 2017 however it seems it resurfaced.

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 reproducing the MountableFile failure with Testcontainers 1.16.0, Docker Desktop 3.3.1, and Windows 10, then compare the behavior with issue #419. Trace the container-startup path involving MountableFile; done means the reported FileAlreadyExistsException no longer occurs under the stated setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.