exit an attached terminal docker code example Example: exit from docker container without stopping ctrl + p + q (press by sequence together)