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
{{ message }}
Repository navigation
Commit 1ddf78c
Browse filesBrowse the repository at this point in the historyBrowse files
Add the ability to configure the provider type in the properties file or as an env var
Using WithProvider may not be portable when some developers running tests may be using Podman and others using Docker.
Allowing setting the Provider type in the global configuration or environment ensures that the provider is a per-developer configurable setting.
Copy file name to clipboardExpand all lines: docs/system_requirements/using_podman.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,8 @@ In order to use Testcontainers then either
82
82
}
83
83
```
84
84
85
+
As an alternative to declaring the provider in the tests themselves, you can instead set the `TESTCONTAINERS_PROVIDER` environment variable to `podman` to force all tests to execute with the Podman provider. This may also be setin the .testcontainers.properties file as `provider=podman`in your home directory.
0 commit comments