Actions
Feature #18798
openAdd ability to Publish Ports when creating new Container
Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin (foreman_docker)
Target version:
-
Description
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?
Updated by Morgan Peterman almost 8 years ago
- Category set to Plugin (foreman_docker)
Actions