mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08: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>
9 lines
166 B
Bash
9 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=$!
|