Closed trisberg closed 9 years ago
if you want to customize the exposed ssh port you can easily do so by:
docker run -p 2122:22 sequenceiq/hadoop-docker:2.6.0
This no Dockerfile modification is needed, and everybody can use its preferred alternte ssh port like 2222/2122/1122
You have configured SSH to run on port 2122 but the EXPOSE command in the Dockerfile specifies 22 as the port. I just thought they should match.
Oh i see it now! Your rigth. Thanks for sending it.
This was needed to be able to ssh to the Docker container for establishing a SOCKS5 proxy.