by usr1106 · 5y ago · 0 comments
But if you run it first in the container to see whether is does anything bad and then run it on the host (or a more valuable container), no.
The script might check whether it runs in a container. It might depend on the wall clock time. On /dev/urandom, whatever. As somebody already mentioned, the halting problem. No can do.
The argument doesn't rely on infinite memory.
In real systems external inputs provide an infinite source of "memory" to read from.