They don't: you may chroot to /, share the host's network interface, or disable networking.
trasz@v3:~ % doas jail / foo 127.0.0.1 /bin/sh # ps aux USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 37975 0,0 0,0 13500 3056 3 SJ 09:11 0:00,01 /bin/sh root 37976 0,0 0,0 13624 2776 3 R+J 09:11 0:00,00 ps aux
They don't: you may chroot to /, share the host's network interface, or disable networking.