diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-03-21 17:32:40 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-04-01 17:27:03 +0200 |
commit | 954d92082534ac775761558b455408aca2246e36 (patch) | |
tree | 605b69f3723915e83329a26da0eb59c32cb897be /cni/87-podman-bridge.conflist | |
parent | d7e003f362bea73ca08ef224dba8c38543a2e953 (diff) | |
download | podman-954d92082534ac775761558b455408aca2246e36.tar.gz podman-954d92082534ac775761558b455408aca2246e36.tar.bz2 podman-954d92082534ac775761558b455408aca2246e36.zip |
Make the docker-compose test work rootless
Make sure the DOCKER_SOCK location is accessible by the user when run
rootless. Alos set the DOCKER_HOST env var to ensure docker-compose will
use the non default location. Cleanup steps such as `rm` or `umount`
must be run inside podman unshare otherwise they can fail due missing
privileges.
Change the curl test to use --retry-all-errors otherwise the tests will
flake. The web server inside the container will return http code 500
sometimes, most likely because it is not fully ready to accept
connections. With --retry-all-errors curl will retry instead of failing
and thus the test will work.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cni/87-podman-bridge.conflist')
0 files changed, 0 insertions, 0 deletions