diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-04-23 10:52:52 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-04-23 11:48:50 +0200 |
commit | ca4f6ec1dbdfd06f3d403eda70dbb2eff3824888 (patch) | |
tree | 654e5a4ff6fa57998ceaebb8186e7f3a79ed3991 /test/compose/slirp4netns_opts/setup.sh | |
parent | 8465626e312a582e434851e6e562974cb3e2e1f8 (diff) | |
download | podman-ca4f6ec1dbdfd06f3d403eda70dbb2eff3824888.tar.gz podman-ca4f6ec1dbdfd06f3d403eda70dbb2eff3824888.tar.bz2 podman-ca4f6ec1dbdfd06f3d403eda70dbb2eff3824888.zip |
Parse slirp4netns net options with compat api
Parse the slirp4netns network options when called via compat api. The
options must be extracted from the NetworkMode string.
Fixes #10110
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test/compose/slirp4netns_opts/setup.sh')
-rw-r--r-- | test/compose/slirp4netns_opts/setup.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/compose/slirp4netns_opts/setup.sh b/test/compose/slirp4netns_opts/setup.sh new file mode 100644 index 000000000..35bbf7c70 --- /dev/null +++ b/test/compose/slirp4netns_opts/setup.sh @@ -0,0 +1,8 @@ +# -*- bash -*- + +# create tempfile to store nc output +OUTFILE=$(mktemp) +# listen on a port, the container will try to connect to it +nc -l 5001 > $OUTFILE & + +nc_pid=$! |