This SDK provides the Docker container runtime for building and running container images inside a workshop. Docker is installed from the official Docker apt repository. Docker configuration and credentials are persisted on the host across workshop updates.
A minimal workshop:
# workshop.yaml
name: my-docker-workshop
base: ubuntu@24.04
sdks:
- name: docker-ce
channel: latest/stableThis gives you a fully configured Docker environment where the workshop user
can run docker commands without sudo.
- No prerequisite SDKs are required.
- No specific project layout is needed.
- On launch the SDK installs Docker CE from the official apt repository,
creates the
dockersystem group, and adds theworkshopuser to it.
workshop shell
docker run hello-world
docker build -t myapp .
docker compose upworkshop shell
docker version
docker info- Interface:
mount - Workshop target:
/home/workshop/.docker - Purpose: Persists Docker CLI configuration and registry credentials across workshop updates.
This SDK doesn't define any slots.
- Docker community: Docker Community Forums
- Workshop forum: Workshop Discourse
- Please review our Code of Conduct before participating.
All contributions, including code, documentation updates, and issue reports, are welcome!
- See
CONTRIBUTING.mdfor guidelines. - Open issues or pull requests on the official repository.
Copyright 2025 Canonical Ltd.
Docker is licensed under the Apache License 2.0.