Skip to content

fix(prelaunch): v0.0.21 - writable DOCKER_CONFIG and busybox unzip - #171

Merged
Leechael merged 2 commits into
mainfrom
fix/prelaunch-v0.0.22
Nov 10, 2026
Merged

Leechael merged 2 commits into
mainfrom
fix/prelaunch-v0.0.22

Conversation

@Leechael

@Leechael Leechael commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Sync phala-cloud-prelaunch-script/prelaunch.sh with Phala Cloud pre-launch v0.0.21.
  • dstack-examples main never had a v0.0.21 banner (this repo's fix(prelaunch): v0.0.21 - timeout docker compose pull #131 was closed unmerged). Public version after v0.0.20 is v0.0.21.
  • export DOCKER_CONFIG=/tmp/.docker before any docker command. On dstack-0.6.1 the Debian rootfs is read-only, so docker login fails with mkdir /root/.docker: read-only file system.
  • Extract awscliv2.zip with unzip when present, otherwise busybox unzip. dstack-0.6.1 does not ship an unzip binary; ECR login never ran.

Verified: file sha256 c452d7122315255914858880fa3d7931f965f57d04631ead4b7164736bcd0765 matches the v0.0.21 entry in phala-cloud-monorepo KNOWN_OFFICIAL_PRE_LAUNCH_SCRIPT_HASHES.

Test plan

  • diff against the canonical v0.0.21 script from the monorepo worktree — identical
  • sha256 matches the official v0.0.21 hash
  • Real dstack-0.6.1 CVM with AWS ECR: busybox unzip extracted awscli, AWS ECR login successful, image pulled, CVM running

dstack-0.6.1 Debian guests cannot mkdir /root/.docker (read-only rootfs).
Point Docker at /tmp/.docker before login. Also extract awscliv2.zip with
busybox unzip when unzip is not on PATH, which is the 0.6.1 guest case.
dstack-examples never published a v0.0.21. Public version after v0.0.20
is v0.0.21. Point Docker at /tmp/.docker before login, and extract
awscliv2.zip with busybox unzip when unzip is not on PATH.
@Leechael Leechael changed the title fix(prelaunch): v0.0.22 - writable DOCKER_CONFIG and busybox unzip fix(prelaunch): v0.0.21 - writable DOCKER_CONFIG and busybox unzip Nov 10, 2026
@Leechael
Leechael merged commit e199b30 into main Nov 10, 2026
6 checks passed
@Leechael
Leechael deleted the fix/prelaunch-v0.0.22 branch November 10, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant