When a test needs to talk to a registry server, launch one as part of the test rather than depending on it having been started by someone else. Use run_buildah where we used to use 'run buildah' without checking the return code, and in a few cases where we did check it. In the "from with non buildah container" test, use "podman create" with host networking, in an attempt to avoid messing with networking in cases where we're running on a system with a version of podman that will create a bridge with CNI that we'll also create with netavark. We're not sharing storage between the two invocations, so the logic that tries to detect this problem won't detect it. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> |
||
|---|---|---|
| .. | ||
| parse | ||
| source | ||
| util | ||
| types.go | ||