I try to screen into docker desktop vm using screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
, which work previously. But today is said Cannot execute "/Users/myusername/Library/Containers/com.docker.docker/Data/vms/0/tty": Operation not permitted
. I search and found solution saying setting security and privacy of system preference which I did follow (below image). But still I got the errors, can anyone help?
While I don't understand the reason for this issue, I experienced the same, and the following helped for me:
chmod 400 ~/Library/Containers/com.docker.docker/Data/vms/0/tty
screen $(cat ~/Library/Containers/com.docker.docker/Data/vms/0/tty)
Not the most beautiful solution, but works form me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With