First time here? Check out the FAQ!
1

Generate docker id issue

Wing pro will produce a docker container id like this: _wing_

But one tool I use frequently named mutagen use this id to sync docker files. Can I set an id without "wing_xxx"? For examle, my container id is "my-fastapi", not "my-fastapi_wing_abcd". I must recreate mutagen session when I use wing pro docker feature, the generated id changed if I stop the container.

bai's avatar
73
bai
asked 2023-10-20 01:02:31 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2023-10-20 13:48:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

There's no easy way to change this, but you can inspect the code that does this in the file plugins/container/docker.py in your Wing installation (search for _wing_, which appears in 3 places). I'm not quite sure how to change this to address what you need, but maybe looking at it will help us find a solution.

Wingware Support's avatar
4k
Wingware Support
answered 2023-10-20 13:48:31 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer