Skip to content

guides/localstack: update init directory to /etc/localstack/init/ready.d#24816

Merged
craig-osterhout merged 2 commits into
docker:mainfrom
lacatoire:fix/issue-22640-localstack-init-hooks
Jun 10, 2026
Merged

guides/localstack: update init directory to /etc/localstack/init/ready.d#24816
craig-osterhout merged 2 commits into
docker:mainfrom
lacatoire:fix/issue-22640-localstack-init-hooks

Conversation

@lacatoire

Copy link
Copy Markdown
Contributor

The /docker-entrypoint-initaws.d directory was removed in LocalStack 2.0. Updates the Compose snippet to mount the current ready.d init hook directory and adds a short tip pointing to the LocalStack init hooks reference. Also drops a stray trailing quote that made the previous mount path invalid.

Closes #22640

The /docker-entrypoint-initaws.d directory was removed in LocalStack 2.0.
Switch the volume mount to the current ready.d init hook directory and add
a short tip pointing to the init hooks reference. Also drops a stray
trailing quote that made the mount path invalid.

Closes docker#22640
@netlify

netlify Bot commented Apr 17, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 0ee14ba
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69e29864e7f04500087b6534
😎 Deploy Preview https://deploy-preview-24816--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@craig-osterhout craig-osterhout added area/guides status/review Pull requests that are ready for review labels Jun 10, 2026
@craig-osterhout

Copy link
Copy Markdown
Contributor

/review

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This is a small, focused, and accurate update that corrects a deprecated mount path (, removed in LocalStack 2.0) to the current , drops a stray trailing quote, and adds a TIP callout pointing to the LocalStack init hooks reference. No vendored files are touched, no pages are removed, and the callout uses correct Hugo syntax.

> script is executable (`chmod +x ./localstack/init.sh`). LocalStack
> runs files mounted in `/etc/localstack/init/ready.d` once it is ready.
> See [LocalStack init hooks](https://docs.localstack.cloud/references/init-hooks/)
> for more details.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[LOW] Weak link phrasing: "for more details" is generic

The sentence "See LocalStack init hooks for more details." ends with a generic call-to-action phrase. Per the Docker style guide, link text should be descriptive and specific, and trailing filler like "for more details" adds no value. Consider rewriting as: "For the full list of hook types and execution order, see the LocalStack init hooks reference."

@craig-osterhout craig-osterhout left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. lgtm

@craig-osterhout craig-osterhout merged commit 45feb51 into docker:main Jun 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/guides status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LocalStack guide shows outdated initialization mechanism

3 participants