Docker set user password non-interactively

后端 未结 0 428
天涯浪人
天涯浪人 2021-02-14 05:45

I would like to set my user vault\'s password in the Dockerfile and I have tried

RUN echo -e "pass\\npass" | passwd "${USER}" 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题