-
-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal state of the DockerContainer is not reset after container.Terminate(ctx) #93
Comments
mdelapenya
referenced
this issue
in mdelapenya/testcontainers-go
Sep 5, 2019
mdelapenya
referenced
this issue
in mdelapenya/testcontainers-go
Sep 5, 2019
mdelapenya
referenced
this issue
in mdelapenya/testcontainers-go
Sep 5, 2019
mdelapenya
referenced
this issue
in mdelapenya/testcontainers-go
Sep 8, 2019
mdelapenya
referenced
this issue
in mdelapenya/testcontainers-go
Sep 8, 2019
gianarb
added a commit
that referenced
this issue
Sep 9, 2019
(#93) Reset internal state after container.Terminate(), and expose InspectContainer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm working on exposing the inspectContainer method, and I realised that the Terminate method does not reset the internal state of the DockerContainer instance: raw and uuid
To Reproduce
I'm sending a PR for this. First commit will be a unit test
Expected behavior
After a container is terminated, its internal state (uuid and raw) is reset
docker info
output of the command:
The text was updated successfully, but these errors were encountered: