9 lines
168 B
Bash
9 lines
168 B
Bash
# -*- bash -*-
|
|
|
|
# create tempfile to store nc output
|
|
OUTFILE=$(mktemp)
|
|
# listen on a port, the container will try to connect to it
|
|
ncat -l 5001 > $OUTFILE &
|
|
|
|
nc_pid=$!
|