Add option to set container name#193
Conversation
|
@TheRealBecks what do you think of this new option? |
|
I may have overlooked it, but how do I set Also So keep in mind that this command collides with: @k9withabone Is there a way to make |
|
@k9withabone Any thoughts on this? |
|
As I believe |
|
Okay, so let's come back to my first question: @dododedodonl I may have overlooked it, but how do I set |
In a lot of my docker-compose files, no container name is set, only a service name with only one container. This toggle allows a user to use the service name as container name, instead of relying on the auto generated |
|
@dododedodonl Thanks, I finally understand how this works: It a boolean flag, I missed that directly at the beginning of the source code 😂 @k9withabone Yeah, this feature sounds good to me! @dododedodonl Please rebase again |
c07928a to
e080ca5
Compare
When converting from a compose file,
container_namemight not be set. The flag added gives the option to set the service's key as container name when it is not set already.