4. What is the differenet between docker exec and attach? by Ramalakshmi
docker exec executes a new command or create a new process in the container. while docker attach just connects the standard input or output or error to a running container using the container ID or name