starts by removing the name from the graph db

Close #5867

See #5867 for details, but in a nutshell, right now if a`docker rm` fails because you messed with the filesystem. The name of the container will still be somewhere in the graphdb. So you can create a container with the same name, but your can't start it.


Moving the deletion of the name on top ensure you can still reuse the name.