Add ability to Publish Ports when creating new Container
Currently Foreman-Docker allows for the creation of a container and allows you to set Environmental options, Expose Ports, and add DNS but doesnt allow you to publish ports to the host's networking.
Under the HostConfig options of the Docker API there are various options and one includes "PortBindings" which is a map of exposed container ports and the host port they should map to. The HostConfig option is currently used when specifying the DNS server so would it be possible to add an additional field for exposed ports?
#1 Updated by Morgan Peterman about 6 years ago
- Category set to Plugin (foreman_docker)
#2 Updated by Morgan Peterman about 6 years ago
- Bugzilla link set to 1429306