Container execution
TLDR;
Opctl supports using container statements to make your op run OCI image based containers.
Note: a common place to obtain OCI images is Docker Hub.
Example
- Start this op:
name: containerExecution
run:
container:
cmd: [echo, 'hello!']
image: { ref: alpine } - Observe the container is started,
hello!
is logged, and the container exits.