Closed as not planned
Closed as not planned
Description
Module
Core
Testcontainers version
1.21.0
Using the latest Testcontainers version?
Yes
Host OS
Mac OS 15.5
Host Arch
ARM
Docker version
Client:
Version: 28.1.1
API version: 1.49
Go version: go1.23.8
Git commit: 4eba377
Built: Fri Apr 18 09:49:45 2025
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.41.2 (191736)
Engine:
Version: 28.1.1
API version: 1.49 (minimum version 1.24)
Go version: go1.23.8
Git commit: 01f442b
Built: Fri Apr 18 09:52:08 2025
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.27
GitCommit: 05044ec0a9a75232cad458027ca83437aae3f4da
runc:
Version: 1.2.5
GitCommit: v1.2.5-0-g59923ef
docker-init:
Version: 0.19.0
GitCommit: de40ad0
What happened?
The Testcontainers Desktop app's "Freeze containers shutdown" option doesn't seem to work anymore. On a previous Java/Gradle project this option was working properly. At some point, when I went back to the project, the freeze shutdown option stopped preventing the Testcontainer containers from shutting down. I'm now in the process of setting up a new project with Testcontainers, and still seeing the same behavior.
I've tried reinstalling and resetting the desktop app and I'm still seeing the same behavior.
Other possibly relevant issue:
- Original project is using Java 21 and Gradle
- Note: Freeze shutdown did work with this project at one point
- New project is using Kotlin 2.1 and Gradle
Relevant log output
2025-05-22T11:43:12.145Z --- INF Initializing config cloud=/Users/natedrake/.config/testcontainers/cloud.properties dir=/Users/natedrake/.config/testcontainers tc=/Users/natedrake/.testcontainers.properties
2025-05-22T11:43:12.191Z --- INF Testcontainers Desktop arch=arm64 os=macOS/15.5 version=1.19.0.5684+b10c462
2025-05-22T11:43:12.197Z --- INF Found existing state file location=/Users/natedrake/Library/Caches/AtomicJar/testcontainers.cloud.desktop/state.json
2025-05-22T11:43:12.199Z --- INF Found installation ID installation_id=iid_04454fd5-8cd7-4d1c-809e-2b60b580d4b7
2025-05-22T11:43:12.400Z --- INF Starting service proxy
2025-05-22T11:43:12.656Z --- INF Dispatching an action type=ui.StartAction
2025-05-22T11:43:12.656Z --- INF State change [ui.DisabledState]--(ui.StartAction)->[ui.StartingState]
2025-05-22T11:43:13.020Z --- INF Agent process starting... start_id=start_3919e66f-5bc0-444a-8e43-d45c74da9cb0
2025-05-22T11:43:13.022Z --- INF Starting a listener... address=tcp://localhost:0
2025-05-22T11:43:13.024Z --- INF User account used name=ndrake@touchtown.com nickname=ndrake org_id=27184 type=user
2025-05-22T11:43:13.025Z --- INF Starting mutagen daemon...
2025-05-22T11:43:13.025Z --- INF Stored agent endpoint addr=tcp://127.0.0.1:53697
2025-05-22T11:43:13.026Z --- INF Serving requests with Testcontainers Cloud runtime index=0
2025-05-22T11:43:13.026Z --- INF Passivating index=0
2025-05-22T11:43:13.028Z --- INF Dispatching an action type=ui.StartedAction
2025-05-22T11:43:13.028Z --- INF State change [ui.StartingState]--(ui.StartedAction)->[ui.RunningState]
2025-05-22T11:43:13.029Z --- INF Agent process listening address=tcp://127.0.0.1:53697
2025-05-22T11:43:13.037Z --- INF Mutagen daemon listening endpoint=/Users/natedrake/.config/testcontainers/run/mtgn.sock
2025-05-22T11:43:13.049Z --- INF Created docker context name=tcd
2025-05-22T11:43:13.056Z --- INF Repointing service proxy from= to=tcp://127.0.0.1:53697
2025-05-22T11:43:13.063Z --- INF Switch to local runtime host=unix:///Users/natedrake/.docker/run/docker.sock name=desktop-linux
2025-05-22T11:43:13.063Z --- INF Serving the local runtime host=unix:///Users/natedrake/.docker/run/docker.sock runtime=desktop-linux
2025-05-22T11:43:13.064Z --- INF Stored chosen runtime type=tcc
2025-05-22T11:43:13.071Z --- INF Stored chosen runtime name=desktop-linux type=local
2025-05-22T11:43:13.071Z --- INF Starting container watch runtime=desktop-linux
Additional Information
Relevant testcontainer dependencies I'm using:
testImplementation("org.testcontainers:testcontainers:1.21.0")
testImplementation("org.testcontainers:junit-jupiter:1.21.0")
testImplementation("org.testcontainers:testcontainers:1.21.0")
testImplementation("org.testcontainers:redpanda:1.21.0")
While the test is running, I do see it show up in the Testcontainers Desktop containers list.