image-source

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

image-source is the smallest end-to-end example: pull an image, run it, exec a command, tear it down.

Run:

go run ./examples/image-source

What it does:

  1. Creates a temp workspace with a minimal devcontainer.json (image: alpine:3.20).
  2. Brings the container up (auto-pulls the image if missing).
  3. Execs `whoami` inside the container.
  4. Tears the container down with --rm.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL