A better solution to solve x11 display problem on *nix system. We can just use terminal outside of docker, then get into docker and attach to started process. All we need is information about such a process outside of docker. This can be done by port mapping with a server/client model to pass message.
With this, all display problem will be solved. But this can only be used for pwntools' gdb.attach like function, all others are not considered.
A better solution to solve x11 display problem on *nix system. We can just use terminal outside of docker, then get into docker and attach to started process. All we need is information about such a process outside of docker. This can be done by port mapping with a server/client model to pass message.
With this, all display problem will be solved. But this can only be used for pwntools'
gdb.attach
like function, all others are not considered.