Score:0

Storing Hashed Passwords for Docker and Docker Compose

cm flag

What is the best way to store passwords and use them in Dockerfile and docker-compose.yaml. Can I store the secrets in a hashed format and make use of it, So that no one can read my real passwords even if they have physical access. Or else, is there any alternative way to achieve something similar...

vidarlo avatar
ar flag
Use them for what?
zakadmin avatar
cm flag
For Docker and Docker-Compose
vidarlo avatar
ar flag
What are the passwords ***actually*** used for? Repeating that you use them for docker and docker-compose is repeating the headline of your question. Please describe the problem you're attempting to solve in *some more detail*. A hash is for instance not useful if you need to send the *password* somewhere.
zakadmin avatar
cm flag
It can be anything containerized. However, mostly I think password variables are required for databases such as mysql. I am looking for a common solution.
vidarlo avatar
ar flag
Your question doesn't make any sense to me even after reading your comments, and I don't you'll get any good answers unless you spend some time to [edit] it so it better explains what passwords you're talking about.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.