Project

General

Profile

Actions

Feature #18798

open

Add ability to Publish Ports when creating new Container

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin (foreman_docker)
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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?

Actions #1

Updated by Morgan Peterman about 7 years ago

  • Category set to Plugin (foreman_docker)
Actions #2

Updated by Morgan Peterman about 7 years ago

  • Bugzilla link set to 1429306
Actions

Also available in: Atom PDF