Repository navigation
fix(prelaunch): v0.0.21 - writable DOCKER_CONFIG and busybox unzip - #171
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
phala-cloud-prelaunch-script/prelaunch.shwith Phala Cloud pre-launch v0.0.21.mainnever 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/.dockerbefore any docker command. On dstack-0.6.1 the Debian rootfs is read-only, sodocker loginfails withmkdir /root/.docker: read-only file system.awscliv2.zipwithunzipwhen present, otherwisebusybox unzip. dstack-0.6.1 does not ship anunzipbinary; ECR login never ran.Verified: file sha256
c452d7122315255914858880fa3d7931f965f57d04631ead4b7164736bcd0765matches the v0.0.21 entry in phala-cloud-monorepoKNOWN_OFFICIAL_PRE_LAUNCH_SCRIPT_HASHES.Test plan
diffagainst the canonical v0.0.21 script from the monorepo worktree — identicalbusybox unzipextracted awscli,AWS ECR login successful, image pulled, CVM running