You must Ctrl+c before attaching, can you not say you can -a connect: (
Usage: docker start [OPTIONS] CONTAINER [CONTAINER...] Start one or more stopped containers Options: -a, --attach Attach STDOUT/STDERR and forward signals --detach-keys string Override the key sequence for detaching a container --help Print usage -i, --interactive Attach container's STDIN
-a
Just open the output stream, you can continue to get the output of the container, and add-i
Only then can the input stream be opened so that your operation can be reflected in the container. If you don’t add it, you will appear.suspended animation
The situation.