summaryrefslogtreecommitdiff
path: root/pkg/bindings/test
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-08-20 09:52:53 -0500
committerMatthew Heon <mheon@redhat.com>2020-08-24 11:31:37 -0400
commit23251149aba5965e06bc35ddbd15717b2bb7b43b (patch)
tree5513812de25908f450fd890226ca0d39574039a1 /pkg/bindings/test
parentc78c6b44ce63430218e141415a10b2010d42f883 (diff)
downloadpodman-23251149aba5965e06bc35ddbd15717b2bb7b43b.tar.gz
podman-23251149aba5965e06bc35ddbd15717b2bb7b43b.tar.bz2
podman-23251149aba5965e06bc35ddbd15717b2bb7b43b.zip
error when adding container to pod with network information
because a pod's network information is dictated by the infra container at creation, a container cannot be created with network attributes. this has been difficult for users to understand. we now return an error when a container is being created inside a pod and passes any of the following attributes: * static IP (v4 and v6) * static mac * ports -p (i.e. -p 8080:80) * exposed ports (i.e. 222-225) * publish ports from image -P Signed-off-by: Brent Baude <bbaude@redhat.com> <MH: Fixed cherry pick conflicts and compile> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/bindings/test')
0 files changed, 0 insertions, 0 deletions