Restart Docker for adding acme dns challenges

Is there an API solution to this nowadays in v6