CentOS / CentOS-Dockerfiles

Dockerfiles for various common implementations
GNU General Public License v2.0
1.86k stars 1.25k forks source link

ssh-keygen command in Dockerfile fails while creating Image #203

Open rohitagrawal4u opened 4 years ago

rohitagrawal4u commented 4 years ago

Hi Team, while creating a docker image using this code snippet in m,y Dockerfile, the image creation fails at command: RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''

/bin/sh: ssh-keygen: command not found The command '/bin/sh -c ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''' returned a non-zero code: 127