Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.83 KB

File metadata and controls

57 lines (34 loc) · 1.83 KB

Labspace for Docker Sandboxes (sbx)

An interactive lab to learn about Docker Sandboxes - the microVM-based agent environment built by Docker.

image

Prerequisites

Special note: this lab requires the usage of the Labspace Compose provider, which isn't yet available publicly. Stay tuned though, as it will be coming soon!

Quick Start

docker labspace launch dockersamples/labspace-sbx-quickstart

Open http://localhost:3030

Contributing

If you find something wrong or something that needs to be updated, feel free to submit a PR. If you want to make a larger change, feel free to fork the repo into your own repository.

Important note: If you fork it, you will need to update the GHA workflow to point to your own Hub repo.

  1. Clone this repo

  2. Start the Labspace in content development mode:

    # On Mac/Linux
    CONTENT_PATH=$PWD docker compose up --watch
    
    # On Windows with PowerShell
    $Env:CONTENT_PATH = (Get-Location).Path; docker compose up --watch
  3. Open the Labspace at http://localhost:3030.

  4. Make the necessary changes and validate they appear as you expect in the Labspace

    Be sure to check out the docs for additional information and guidelines.

  5. When done, make sure to run a docker compose down to completely tear everything down:

    # On Mac/Linux
    CONTENT_PATH=$PWD docker compose up --watch
    
    # On Windows with PowerShell
    $Env:CONTENT_PATH = (Get-Location).Path; docker compose up --watch