Find exposed ports
Apache 2.0Find all EXPOSE instructions in Dockerfiles and report the exposed ports.
org. openrewrite. docker. search. FindExposedPortsOptional
A glob pattern to filter ports. For example, '80*' to find ports starting with 80. If not specified, all EXPOSE instructions are matched.
mod run . --recipe= org. openrewrite. docker. search. FindExposedPortsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.