Ubah atau atur kata sandi secara interaktif di Linux

#Eventually, I decided to rebuild my Docker images, so that I change the root password by something I will know.

RUN echo 'root:Docker!' | chpasswd
#or
RUN echo 'Docker!' | passwd --stdin root 
DreamCoder