Project

General

Profile

Feature #18798

Add ability to Publish Ports when creating new Container

Added by Morgan Peterman about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin (foreman_docker)
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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?

History

#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

Also available in: Atom PDF