Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker - CTRL+P CTRL+Q

Tags:

docker

I'm using Docker on windows 10 Home, so docker uses the virtual machine box.

When I run the container below and want to leave the commnand CTRL + P CTRL + Q does not work.

docker run -i -t ubuntu /bin/bash

like image 801
Alessandro Luchesi Corrêa Avatar asked Mar 30 '26 14:03

Alessandro Luchesi Corrêa


1 Answers

Try the following

docker run -it --detach-keys "ctrl-p" ubuntu /bin/bash
like image 139
terrywb Avatar answered Apr 02 '26 12:04

terrywb