To leave the chroot press keep holding key CTRL and press key 5 quickly 3 times within 1 second. https://unix.stackexchange.com/questions/577065/connected-to-container-mycontainer-press-three-times-within-1s-to-exit-sessi