How to set Docker image name when "testcontainers.reuse.enable=true"? #31171
Unanswered
jehrenzweig-leagueapps
asked this question in
Q&A
Replies: 1 comment 2 replies
-
From what I can see, you can do it with something like what is exposed here in Testcontainers: testcontainers/testcontainers-java#1430 . The dev services layer doesn't expose the ability to configure this though. It's something that could probably be added relatively easily in Quarkus if you wanted to do it. But keep in mind that the people in the Testcontainers issue weren't that thrilled about the idea. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Today, I setup a Quarkus application that uses DevServices to provision a MySQL database:
I then created a new
.testcontainers.properties
file in my macOS user profile's root folder, to ensure the Docker image wasn't destroyed when Quarkus stopped running locally:Good stuff. However, I'd like to be able to set the name of the Docker image, so that I more easily recognize it when I'm looking at my list of images in Docker Desktop. Is there any way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions