Container SHOULD NOT be renamed after changing stack compose and deployment #321
Answered
by
markhaines
baloo2
asked this question in
Ask for Help
-
When I make changes to stack compose file and deploy the stack, the container name is changed from "container" to "randomstring_container". Is it possible to keep the original container name after deployment? Environment: Synology DSM 7.2 |
Beta Was this translation helpful? Give feedback.
Answered by
markhaines
Dec 25, 2023
Replies: 1 comment
-
That’s not a bug - you just need to use the container_name: directive in your compose script. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
louislam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That’s not a bug - you just need to use the container_name: directive in your compose script.