I currently pass an environment variable using --env when running the docker run. One of the things I want my docker run to do is pull code from git repository which requires my password. I don’t want to include the password in command line.
- Can docker run be prompted to ask the user for a password?
- Same way can docker run be prompted to ask for a value of an environment variable?