EQTY LabDocs

Quick Start

Run your first job on a Verifiable Container Runtime and view its signed manifest, from the command line or the web console.

View as Markdown

This page runs a Hello World job on a CRT and opens the signed manifest it produces. You need:

  • A running CRT. To deploy one, follow Azure or Bare Metal.
  • An operator certificate signed by the CA the CRT was deployed with. See Operator Certificates (mTLS).
  • The CRT’s public IP address, from the deployment’s publicIpAddress output:

The job writes a line to /output/out.txt, then waits 60 seconds and stops:

yml
services:
  writer:
    image: busybox
    command: ["/bin/sh", "-c", "echo 'Hello, Docker!' > /output/out.txt && sleep 60"]
  1. Import your operator .pfx into your browser. See Install an operator certificate.

  2. Open the web console, accept the certificate warning, and pick your operator certificate when the browser asks:

    text
    https://{{VM_IP}}:447/

    The badge at the top reads Connected.

  3. Select Launch and paste the job above into the editor. Wait for the Validation panel to pass, leave Stop when the job finishes on, and select Start job.

    The Launch screen with the Hello World job in the editor and Start job button

  4. A Project started dialog shows the job’s project_id. Select Go to Monitor, then Containers to watch the writer container; the job stops on its own after about 60 seconds.

    Monitor, Containers view, with the writer container up

  5. Select Manifest and then Download to save eqty_manifest.json.

    Monitor, Manifest view, with the Download button

    You can also select Files; the job’s project_id is filled in under Results, and Output lists out.txt.

    The Files screen listing out.txt under Results, Output

  1. Install the command line tools, and create a .env file next to your operator certificate:

    sh
    HOSTNAME="https://{{VM_IP}}:447"
    CLIENT_CERT="./operator1.crt"
    CLIENT_KEY="./operator1.key"
  2. Check the connection. An empty table means you are connected and no job is running:

    sh
    $ vcomp-crt-api-cli status ps
    Client authentication certificate
    NAME      IMAGE     COMMAND   SERVICE   CREATED   STATUS    PORTS
  3. Save the job above as docker-compose-helloworld.yml and start it:

    sh
    vcomp-crt-api-cli start docker-compose-helloworld.yml

    The response ends with "project_id":"…","status":"ok". Make a note of the project_id:

  4. Run vcomp-crt-api-cli status ps until the table is empty again, about 60 seconds.

  5. Download the signed manifest:

    sh
    curl -k --cert operator1.crt --key operator1.key \
      -X POST -o eqty_manifest.json \
      https://{{VM_IP}}:447/manifest

Open the Lineage Explorer and upload eqty_manifest.json to see the job’s lineage.

Next steps