Add --image flag to run a custom emulator image for one start - #525
Merged
Merged
Conversation
anisaoshafi
force-pushed
the
devx-1121-add-an-image-flag-to-lstk
branch
from
September 29, 2026 16:58
51d0122 to
7404d1a
Compare
anisaoshafi
marked this pull request as ready for review
September 29, 2026 17:32
anisaoshafi
requested review from
a team and
peter-smith-phd
as code owners
September 29, 2026 17:32
anisaoshafi
force-pushed
the
devx-1121-add-an-image-flag-to-lstk
branch
from
September 30, 2026 16:38
8bc3fa6 to
c9f12cb
Compare
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.
What
Adds an
--imageflag, so you can run any image without editingconfig.toml:lstk -t snowflake --image localstack/snowflake-nextHow it works
--imageapplies to one run only. lstk never saves it to config.-tworks as before.stop,status, andlogsstill find the emulator. lstk finds its container by name, not by image.restartkeeps the image. lstk puts a label on a container started with--image, and a plainrestartreuses that image. If the image came from config,restartreads the config again, so config edits still apply.-t aws --image localstack/snowflake). Neither changes the config.--imagewas not applied.Testing
localstack/snowflake-nextimage: start, status, restart, stop, and the interactive mode.