ByteInternet / hypernode-docker

Fast and easy Docker for Magento development
https://community.hypernode.io/hypernode-docker
35 stars 8 forks source link

Need to restart all services because no sda_key is generated. #58

Open FryingDutch opened 2 years ago

FryingDutch commented 2 years ago

Hi, in following of #42 , I have the EXACT same issue. Only I am on Linux Debian. I am new to hypernode, anybody got an idea on how to solve this issue?

EDIT: If I run the image detached, and inspect the container, I can see that indeed the ssh_host_dsa_key is not generated. Anybody has an idea how to get beyond this?

EDIT: Basically followed #42 solution, without the windows needed functions (I am failry new to this, so forgive me).

However, it doesnt seem like a proper solution to me, to restart all services every time I want to create a container. So for now I'll leave the issue open.

vdloo commented 2 years ago

hi @FryingDutch, isn't the 'Could not load host key' just a warning? if you run the container the services should start and you should be able to log in with SSH. if that's not the case then maybe something else is going on and the Could not load host key: /etc/ssh/ssh_host_dsa_key just happens to be the last output you see but may not be indicative of the actual problem.

FryingDutch commented 2 years ago

It might be, I honestly just made a new image where the services are restarted already. So I haven't dealt with it again.