How to press the delete key when docker enters the container

docker exec-it-sharp container id / bin/sh
after I enter

-sharp 

how to press delete if I typed the wrong command? Deletion will directly change to ^ H symbol

Feb.27,2021

two ways
ctrl+backspace;
if you have bash, use / bin/bash


you only learn docker when you don't need to enter the container.

Menu