mirror of
https://github.com/apple/container.git
synced 2026-09-27 01:55:43 +00:00
Adds --publish flag for forwarding traffic to container ports. (#352)
This commit is contained in:
@@ -187,6 +187,8 @@ public struct Utility {
|
||||
|
||||
config.labels = try Parser.labels(management.labels)
|
||||
|
||||
config.publishedPorts = try Parser.publishPorts(management.publishPorts)
|
||||
|
||||
// Parse --publish-socket arguments and add to container configuration
|
||||
// to enable socket forwarding from container to host.
|
||||
config.publishedSockets = try Parser.publishSockets(management.publishSockets)
|
||||
|
||||
Reference in New Issue
Block a user