👋 Welcome to the Score Labspace!
This is a learning experience for exploring and understanding the CNCF Sandbox project Score and its features.
You will be guided through instructions to run command lines with tools already pre-installed to better understand the concepts of Score and its features.
✅ Here is how this lab is structured:
- Introduction to Score
- The Score Specification
- Getting started with
score-compose - Getting started with
score-k8s - Advanced scenario with
score-compose - Advanced scenario with
score-k8s - Next steps
You can run this Labspace in its latest version from anywhere (if you have Docker/Podman and Docker/Podman Compose installed):
docker compose -f oci://scorespec/score-labspace:latest upTo clean it up when needed, you can run this command:
docker compose -f oci://scorespec/score-labspace:latest down --volumesAnd then open the labspace in your web browser: http://localhost:3030.
After you cloned this GitHub repository, you can run this Labspace locally by running these commands:
On Mac/Linux:
CONTENT_PATH=$PWD docker compose up --watchTo clean it up when needed, you can run this command:
CONTENT_PATH=$PWD docker compose down --volumesOn Windows with PowerShell:
$Env:CONTENT_PATH = (Get-Location).Path; docker compose up --watchTo clean it up when needed, you can run this command:
$Env:CONTENT_PATH = (Get-Location).Path; docker compose down --volumesThen open the labspace in your web browser: http://localhost:3030.
Every pull request runs the Test Labspace workflow: it starts the Labspace and runs every bash code block of the lab in order, like a learner would. A bash block directly followed by a none block starting with Error: is expected to fail with that error message, and blocks with the no-run-button metadata are skipped. See lab-to-script.py for the details.
To contribute to the content of this Labspace, it's easy, it's just about .md files under the /labspace folder or feel free to file any issues there, thanks, much appreciated!