I suspect this is something with how AWS is setting up the container as I don’t see that anywhere else and I’ve checked on a couple of different platforms including Docker Desktop on Mac, Docker on a Linux system and podman on a RHEL system.
It could even be something in how you set up the container within AWS. Unfortunately, I’m not an AWS guy, so I wouldn’t know where to look. I’d start by asking around the AWS community to see if there is a way to prevent it. Hopefully it’s not something their infrastructure requires.
I was going to ask about setting the interface in the scanning config, but I don’t see that as an option anymore.
Found out the real issue.
The missing interface was not what caused the “hanging”.
From further testing I found out scanning the UDP ports made the scanning process a tad slower.