jeroenpeeters / docker-ssh

SSH Server for Docker containers ~ Because every container should be accessible
GNU General Public License v2.0
638 stars 89 forks source link

Web terminal not working #56

Closed salirezav closed 3 years ago

salirezav commented 3 years ago

No matter what I do the web terminal does not work.

I run my flask container: docker run -d -p 5000:5000 --name flask salirezav/simple-flask-app
and then I do this: docker run -p 2222:22 -v /var/run/docker.sock:/var/run/docker.sock -e FILTERS={\"name\":[\"^/flask$\"]} -e AUTH_MECHANISM=noAuth -e HTTP_ENABLED=true -e HTTP_PORT=9999 jeroenpeeters/docker-ssh

then I open localhost:9999 and nothing. this web terminal would really help me in my project. I really appreciate it if you could help me solve this problem.

salirezav commented 3 years ago

UPDATE: It works just fine. I just had to map 8022 to another port on the host. Stupid mistake that costed me hours!