Created
March 7, 2021 18:47
-
-
Save cankush625/3513ab34e53a5f32a058557af49a4746 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM centos:centos8 | |
| RUN yum install net-tools -y | |
| RUN yum install openssh-server -y | |
| RUN ssh-keygen -A | |
| RUN yum install passwd -y | |
| RUN echo ankush | passwd root --stdin | |
| CMD /usr/sbin/sshd && /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment