Closed korenhe closed 1 year ago
@korenhe , sorry for the late reply! What about not reading names for images (containers created from them are meant to be only temporary, this is the whole point of using this server type) but randomizing them? As far as I remember there was a function used for adding random suffixes to container names. Maybe integrate it somehow? As for the container names we can just use random strings (as I wrote above the containers are temporary and are deleted when the server stops).
@korenhe , please take a look at this PR: #70 . It basically enables generation of container names (unique, using a global suffix) under the hood thus avoiding container name clashes.
I will probably close this particular PR in the near future. Thanks for your input!
Closing this PR as the underlying issue is now fixed by another PR
…type
For image type, the container-name is nil and makes the name of repeated creation of container conflicts with each other.