You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the Down() method of the LocalDockerCompose created through NewLocalDockerCompose(), volumes created when "upping" the instance are deleted through the --volumes option:
It would be nice to have that behavior on ComposeStack.Down() created through NewDockerCompose() as well. I believe this can be easily achieved by adding Volumes: true on the following line:
Proposal
When calling the
Down()
method of theLocalDockerCompose
created throughNewLocalDockerCompose()
, volumes created when "upping" the instance are deleted through the--volumes
option:testcontainers-go/compose_local.go
Line 84 in 20df64e
It would be nice to have that behavior on
ComposeStack.Down()
created throughNewDockerCompose()
as well. I believe this can be easily achieved by addingVolumes: true
on the following line:testcontainers-go/compose_api.go
Line 158 in 20df64e
BTW, I thank all the contributors of this awesome library. It's been really useful to me.
The text was updated successfully, but these errors were encountered: