What is the differenet between docker exec and attach?
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
-> Attach:This command to attach your terminal’s standard input, output, and error to a running container using the container’s ID or name.
-> exec: The docker exec command runs a new command in a running container. execute the below command after restarting the container node API