How do I run a container?

TLDR;

Opctl supports running an OCI image based container by defining a container call.

Note: a common place to obtain OCI images is Docker Hub.

Example

  1. Start this op:
    name: runAContainer
    run:
    container:
    cmd: [sh, -ce, 'echo hello!']
    image: { ref: alpine }
  2. Observe the container is run and hello! logged.