I use Docker to create a specific nginx container with SSL.
But I do not want my SSL files to be saved on my system with versions as they are. Therefore they are encrypted. When creating a docker container, I need a password to decrypt the files and verify the nginx configuration.
I use read to get a prompt in my install script, but Docker just stops at the prompt:
+ echo 'Please enter the password for the SSL certificates: ' + read -s SSL_PASSWORD INFO[0008] The command [/bin/sh -c /build/setup.sh && /build/cleanup.sh] returned a non-zero code: 1
Is there a way to get a hint when running docker build ?
Thank you for your help:)
shell docker prompt
achedeuzot
source share