Skip to content

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

Open
@rohitagrawal4u

Description

@rohitagrawal4u

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions