github.com/containers/podman/v5@v5.1.0-rc1/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=$!