This repo contains the code for the Docker Desktop extension for Labspaces.
To develop the extension, run the following steps:
-
Start the app with Compose Watch:
docker compose up --watch -
If you don't have the extension installed yet, install it:
docker extension install dockersamples/labspace-extension -
Enable debug mode for the extension (to get the Chrome developer tools):
docker extension dev debug dockersamples/labspace-extension -
Set the UI source for the extension to be your development environment:
docker extension dev ui-source dockersamples/labspace-extension http://localhost:5173 -
Open the extension in Docker Desktop. It will now be using the Vite reload server for the UI, allowing you to make changes and see them reflected immediately.
Once the extension is installed, deep links can be used to launch a Labspace.
http://open.docker.com/dashboard/extension-tab?extensionId=dockersamples/labspace-extension&location=PUBLISHED_LABSPACE_URL&title=TITLE
Click here to launch a sample Labspace