I can attach to a docker process but Ctrl+c doesn\'t work to detach from it. exit basically halts the process.
What\'s the recomm
to stop a docker process and release the ports, first use ctrl-c to leave the exit the container then use docker ps to find the list of running containers. Then you can use the docker container stop to stop that process and release its ports. The container name you can find from the docker ps command which gives the name in the name column. Hope this solves your queries....