No description
  • Go 82.5%
  • Makefile 17.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brent Baude 2af74a52fd
Merge pull request #11 from Luap99/deprecated
Add deprecated notice in README
2022-11-16 09:41:36 -06:00
plugins/meta/podman-machine Merge pull request #6 from Luap99/tests 2021-09-13 15:48:26 -05:00
vendor Add unit tests 2021-09-10 17:02:04 +02:00
.gitignore Add gitignore 2021-09-03 15:01:03 +02:00
CODE-OF-CONDUCT.md Initial code delivery 2021-04-29 13:00:27 -05:00
go.mod Add unit tests 2021-09-10 17:02:04 +02:00
go.sum Add unit tests 2021-09-10 17:02:04 +02:00
Makefile Add unit tests 2021-09-10 17:02:04 +02:00
OWNERS Initial code delivery 2021-04-29 13:00:27 -05:00
README.md Add deprecated notice in README 2022-11-16 16:35:57 +01:00
RELEASE_NOTES.md Bump to v0.2.0 2021-09-13 15:07:39 -04:00
SECURITY.md Initial code delivery 2021-04-29 13:00:27 -05:00

Deprecated

This repository is no longer maintained. The core logic has been merged into podman as of v4.0.

podman-machine-cni

This plugin collects the port information of the container and sends information to a server on the host operating system. The information is used by the server to open and close port mappings on the host. It is only meant to be used in a podman-machine virtual machine. The plugin can be enabled with the following stanza:

      {
         "type": "podman-machine",
         "capabilities": {
            "portMappings": true
         }
      },

The server in question is gvisor-tap-vsock. The plugin connects to the server via RESTful API calls on container start and stop (or die). The plugin converts the port data information into a JSON payload for the API endpoint. On container start, ports on the host are opened and mapped; on stop, they are closed.