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

  1. Use porter explain to see what is included in the bundle and how to use it.

    porter explain --reference ghcr.io/getporter/examples/porter-hello:v0.2.0
    
  2. Install the bundle

    porter install hello --reference ghcr.io/getporter/examples/porter-hello:v0.2.0
    
  3. Upgrade the bundle

    porter upgrade hello
    
  4. Uninstall the bundle

    porter uninstall hello