I am trying to stop containers through the use of docker stop but seemingly some go into a “crashed” state instead of a stopped state, but doing this through the GUI it appears to gracefully stop them instead.
I am wanting to know how I can instead script them to stop using the same method the GUI is using.
Could anyone offer some suggestions on where to look.
Okay, I am on the API documentation, not too experienced with API stuff although have got some stuff working in the past, is there API routes spcifically for stopping and starting containers?
I am looking here if I am in the right sections for docker things.
/api/docs/current/api_methods_docker.html
Edit:
Think I found it under app instead.
/api/docs/current/api_methods_app.stop.html
/api/docs/current/api_methods_app.start.html