Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.03] update documentation for "SCTP port mapping" #6039

Closed
thaJeztah opened this issue Feb 21, 2018 · 7 comments
Closed

[18.03] update documentation for "SCTP port mapping" #6039

thaJeztah opened this issue Feb 21, 2018 · 7 comments
Labels
area/engine Issue affects Docker engine/daemon area/networking Relates to anything around networking lifecycle/locked
Milestone

Comments

@thaJeztah
Copy link
Member

Problem description

docker/cli#278 completed the "coding" side of a series of pull requests to add support for the SCTP protocol when publishing ports (see the graph at the top of moby/moby#33922 (comment)).

Documentation changes are likely needed in some locations to mention the new option, and possibly some examples and/or description when to use this (?).

ping @AkihiroSuda @ishidawataru

/cc @gbarr01

Project version(s) affected

Engine 18.03 and up

@thaJeztah thaJeztah added area/engine Issue affects Docker engine/daemon area/networking Relates to anything around networking labels Feb 21, 2018
@thaJeztah thaJeztah added this to the engine/18.03 milestone Feb 21, 2018
This was referenced Feb 26, 2018
@AkihiroSuda
Copy link
Contributor

opened docker/cli#900 and #6078

cc @ishidawataru

@ishidawataru
Copy link

@AkihiroSuda Thanks, LGTM

@gbarr01
Copy link
Contributor

gbarr01 commented Mar 12, 2018

@gbarr01
Copy link
Contributor

gbarr01 commented Mar 12, 2018

Hi, @thaJeztah @AkihiroSuda, I scraped together some documentation from your various PRs but the example at bottom did not work for me. I wonder if there is a simpler example we can use.

For this page: https://docs.docker.com/engine/swarm/ingress/

Docker supports SCTP (Stream Control Transmission Protocol) port mapping. SCTP is widely used as a transport protocol for cellular networks. With SCTP support, you can run applications such as Diameter within your Docker containers.

Example:

$ docker run -p 10000:20000/sctp mgoelzer/alpine-socat socat sctp-listen:20000 system:cat
$ docker run -it --net=host mgoelzer/alpine-socat socat stdin sctp4-connect:127.0.0.1:10000,bind=127.0.0.1
hello
hello

Should I expect something like this for the CLI page? https://docs.docker.com/engine/reference/commandline/service_create/#publish-service-ports-externally-to-the-swarm--p-publish

Option: protocol
Short syntax: --publish 8080:80/sctp
Long syntax: --publish published=8080,target=80,protocol=sctp
Description: Non-native protocol accessible by mapping TCP port.

@AkihiroSuda
Copy link
Contributor

@ishidawataru

Do you know any free and practical Docker image that is suitable as an example usecase?

@gbarr01
Copy link
Contributor

gbarr01 commented Apr 11, 2018

Addressed here: #6078

@gbarr01 gbarr01 closed this as completed Apr 11, 2018
@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/engine Issue affects Docker engine/daemon area/networking Relates to anything around networking lifecycle/locked
Projects
None yet
Development

No branches or pull requests

5 participants