docker detach from container code example Example: docker detach from container ctrl + p + q (press by sequence together)