4 ms·
What's another way to do it? This is a hack after all, but I'm sure they'll accept pull requests.
by voltagex_ 11y ago
What's another way to do it? This is a hack after all, but I'm sure they'll accept pull requests.
- aduermael 11y agoOf course! We're really not working full time on this, had to make it work. I agree that one is horrible!!!
- beltorak 11y agoThe REST purist in me would advise against GET requests for executing actions. Not sure how I'd design the actionable namespace though; not a lot of experience there I'm afraid. But perhaps a POST of "cmd=stop" to "hxxp://$host:$port/docker/container/$containerId".