Skip to content

Conversation

@nitomartinez
Copy link
Contributor

This sets the default run options. That is run:

Jamulus -s -n

if no options are defined.

This should reduce the complexity ;-)

@grundic
Copy link
Owner

grundic commented Apr 5, 2020

Could you please update README as well and remove parameters from there and notice they are not required for starting container?
Thank you.


FROM alpine:3.9

EXPOSE 22124/udp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The port can be specified from command line. I think it's better to be explicit and expose it from command line.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docker documentation states:

The EXPOSE instruction does not actually publish the port. It functions as a type of documentation between the person who builds the image and the person who runs the container, about which ports are intended to be published.

So maybe EXPOSE would make sense, then?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having the EXPOSE line here makes it easier to discover which port will be used externally. A good reason to have it here IMO.

@nitomartinez
Copy link
Contributor Author

Updated README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants