Replies: 2 comments 1 reply
-
Yes, with the --user argument to Docker run
https://docs.docker.com/engine/reference/run/#user
…On Sun, 12 Nov 2023, 06:41 Hazmi35, ***@***.***> wrote:
Is there a way to change the default user in Docker like in RabbitMQ using
environment variables?
Like:
RABBITMQ_DEFAULT_USER=tuneRABBITMQ_DEFAULT_PASS=BFcBsUB5AZHBnEMibkEspFvJF3nAu6KNBUfxgv9MySBZSp3CA2UgNLkRjhRDcQ8p
—
Reply to this email directly, view it on GitHub
<#593>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL6TQ7C6KVXNOFR5ZUL2LYEBORVAVCNFSM6AAAAAA7HYVUOOVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZVHA2DAMBRGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Oh, I see. Normally you would like to do a lot more than just change the
user, such as adding vhosts, adding policies. I would recommend
prepopulating the data directory, eg. the users.json file for the default
users.
…On Sun, 12 Nov 2023, 07:12 Hazmi35, ***@***.***> wrote:
I'm sorry I think you missunderstood the question
I'm looking to change the LavinMQ user, not the running user inside the
Docker container.
—
Reply to this email directly, view it on GitHub
<#593 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL6TXXVLXODOC7RUJGFRLYEBSELAVCNFSM6AAAAAA7HYVUOOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNBTGY2DM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to change the default user in Docker like in RabbitMQ using environment variables?
Like:
Beta Was this translation helpful? Give feedback.
All reactions