Example: Hello World

Source: https://porter.sh/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 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