Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Can you please re-write the question, adding some clarity? So you want the host to listen to both 22 and 2222, and only forward ssh to 22 to 2222 in the container? What is the reason for doing that, can you please describe what you're architecture is, and what you're trying to achieve with it as an end result, rather than just asking how do a set thing? Commented Jan 4 at 4:29
  • Rephrased question Commented Jan 4 at 9:34
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Jan 9 at 13:56