Example: Hello World
Source: https://getporter.org/examples/src/hello
The hello world bundle, ghcr.io/getporter/examples/porter-hello, is the simplest bundle possible.
It prints a message to the console when various actions are performed.
This is the default bundle generated for you when you run porter create
.
Try it out
-
Use
porter explain
to see what is included in the bundle and how to use it.porter explain ghcr.io/getporter/examples/porter-hello:v0.2.0
-
Install the bundle
porter install hello --reference ghcr.io/getporter/examples/porter-hello:v0.2.0
-
Upgrade the bundle
porter upgrade hello
-
Uninstall the bundle
porter uninstall hello