mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-26 10:17:53 +00:00
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>
8 lines
166 B
Bash
8 lines
166 B
Bash
# -*- 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=$!
|