Skip to content

Start same image with not same alias #359

Closed
@sebglon

Description

If i want to start the same image config with a different alias, the first container is stop and and a new container is started;

Maven profilA
Alias: Container-A
Maven profilB
Alias: ContianerB

mvn docker:stop docker:start -P profilA
docker ps is OK i have Container-A
After this i start second profil
mvn docker:stop docker:start -P profilB
docker ps
Container-A is stoped and removed
and container-B is UP

I think that docker:stop not work with alias but image.
Can you made priority to Alias if strategy=alias

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions