Skip to content

fix(app): install Docker in web user-data (#590) - #597

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/590-web-docker-install
Sep 15, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/590-web-docker-install

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Found in the #590 real-instance validation (nginx on c7i.xlarge): the standard AL2023 base has no Docker (only the GPU DLAMI does), so docker pull/run failed and the web container never came up → readiness timeout. buildWebUserData now installs + starts Docker idempotently before pulling. Also makes the launch timeout message web-aware ("web app" not "DCV").

Validated end-to-end after this fix: spored's :443 TLS reverse proxy served nginx over TLS at the FQDN (https://<fqdn>/ → 200), spawn:ready-url written. (During the CLI launch the released spored from S3 lacks the web code, so I swapped in the built spored via SSM to confirm — the next spawn release republishes spored with it.)

Follows #596. Refs #590.

…essage (#590)

The standard AL2023 base (CPU web apps) ships no Docker, so docker pull/run
failed and the container never came up — found in the #590 real-instance
validation (nginx). buildWebUserData now installs + starts Docker idempotently
(the GPU DLAMI already has it). Also make the launch timeout message say 'web
app' instead of 'DCV' for web launches. Validated end-to-end: nginx served over
the spored :443 TLS proxy at the FQDN, ready-url written.

Refs #590.
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 69.23077% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/app.go 69.23% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit d5b6450 into main Sep 15, 2026
7 checks passed
@scttfrdmn
scttfrdmn deleted the fix/590-web-docker-install branch September 15, 2026 04:29
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