github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/test/compose/slirp4netns_opts/setup.sh (about) 1 # -*- bash -*- 2 3 # create tempfile to store nc output 4 OUTFILE=$(mktemp) 5 # listen on a port, the container will try to connect to it 6 nc -l 5001 > $OUTFILE & 7 8 nc_pid=$!