Leopere / alpine-openssh

OpenSSH server on the ultralight Alpine linux base.
MIT License
4 stars 1 forks source link

rc-update, rc-status, sshd not working out of the box #1

Open szabolcsmaj opened 8 years ago

szabolcsmaj commented 8 years ago

I cloned the project just as it is and have a lot of issues with it:

By default it says that rc-update is not found (see this stackoverflow question from me: http://stackoverflow.com/questions/39460085/docker-alpine-images-basic-commands-are-not-working)

I got an answer to install openrc. I added that to the beginning of the Dockerfile and it could get past the initial problem.

When I try to run it with

docker run containername -p 22:22

I get this:

/usr/sbin/sshd: line 1: syntax error: unexpected ")"

So the question is:

Leopere commented 6 years ago

Silly that I'm responding so late, in 2016 I was mostly just throwing these things on the internet for personal archives. Did you ever get this working the way you'd hoped?

szabolcsmaj commented 6 years ago

I don't know now. I probably switched to different container. You can close this

Leopere commented 6 years ago

I'm curious what container you're using now, I never should have posted this one as if it were public but in 2016 there was no reliable place to get free private registries. I'll make this thing a bit more public friendly since I've noticed there aren't really any obviously good ones that I could see.

On Tue, Jun 26, 2018, 4:14 AM SLOBYYYY, notifications@github.com wrote:

I don't know now. I probably switched to different container. You can close this

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chamunks/alpine-openssh/issues/1#issuecomment-400220903, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBNVp5BtSGGPPoxq49O9hKfmUmZZsw8ks5uAe1SgaJpZM4J7iOT .