I'm trying to connect an 'ssh/sftp' ide to docker.
I have it ssh form host to container - nice.
How do I ssh form outside?
I tried
docker run -p 8080:8080 -p 2222:22 bake /sbin/my_init --enable-insecure-key
And it tells me:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
I use the host ip.
Even hostip on a different port is no joy.
Do I have to setup ip tables? I never have luck with that moving the the ssh port.
Help?
I don't think this should be this hard.
Vic