HUB
Sign inSign up

longnguyen58445/offload-kit:0.2.4

Manifest digest

sha256:2bee7c7ee477a349645f6cf9ae9f29636f30c0ce79ba604ab6112f061ea76b3f

Last pushed

2 months by longnguyen58445

Type

Sandbox Kit

Manifest digest

sha256:2bee7c7ee477a349645f6cf9ae9f29636f30c0ce79ba604ab6112f061ea76b3f

MIXINREQUIRES SECRETS

Installs the Docker Offload CLI plugin (v0.6.85, linux amd64 and arm64, from a plugin image) set to the Cloud Sandboxes engine (Offload v2), so agents can run Docker workloads on a remote engine through the docker-cloud context. Signs in with a Docker personal access token bound on the host.

Arguments
NameRequiredDefaultDescription
pluginImageOptionallongnguyen58445/offload-plugin:0.6.85
Image holding the docker-offload plugin at /docker-offload (built from kits/offload-plugin). Its binary must match the checksums pinned in the startup script.
stageOptional
Set to 1 to use Docker's staging environment (needs a staging PAT). Empty is production.
usernameOptional
Docker ID the personal access token belongs to. Leave empty to sign in by hand with docker login.
Credentials
NameServiceRequiredDescription
DOCKER_OFFLOAD_PATdocker-offloadOptionalDocker personal access token for the account that has Cloud Sandboxes access. The startup script signs in with it, so it is present in the sandbox (and in ~/.docker/config.json); scope it narrowly.
Network Egress
hub.docker.com:443
login.docker.com:443
index.docker.io:443
auth.docker.io:443
registry-1.docker.io:443
production.cloudfront.docker.com:443
production.cloudflare.docker.com:443
api.sandboxes-cloud.docker.com:443
ssh.sandboxes-cloud.docker.com:22
100.22.208.130:22
52.39.3.133:22
54.212.241.121:22
api.offload.docker.com:443
hub-stage.docker.com:443
login-stage.docker.com:443
index-stage.docker.io:443
api.sandboxes-cloud-stage.docker.com:443

Apply this mixin to a sandbox

sbx run <agent> --kit longnguyen58445/offload-kit:0.2.4

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx(opens in new tab)