Which method is a safe way to provide a username/password combination to an application running as a service in a Docker container?

Posted by: Pdfprep Category: 300-910 Tags: , ,

Which method is a safe way to provide a username/password combination to an application running as a service in a Docker container?
A . encode the value with base64 in a secure DNS CTEXT entry
B . as an environment variable in the Dockerfile
C . Docker environment variable
D . Docker secrets

Answer: D

Leave a Reply

Your email address will not be published.