Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rohitagrawal4u opened this issue Jan 10, 2020 · 0 comments
Open

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

rohitagrawal4u opened this issue Jan 10, 2020 · 0 comments

Comments

@rohitagrawal4u
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant