Quantcast
Channel: Active questions tagged dockerfile - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 136

Changing root password via DOCKERFILE

$
0
0

Nevermind the security implications, I'd like to change the root password via the DOCKERFILE. Is there a way to do this? I figured that the below line would work, however, it doesn't.

RUN echo "root:Password" | chpasswd

Viewing all articles
Browse latest Browse all 136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>