Add --containers, --arch and copyto to the EC2 sandbox script - #490
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
peter-smith-phd
force-pushed
the
ec2-sandbox-containers-flag
branch
from
September 7, 2026 22:33
9150267 to
d7b270e
Compare
peter-smith-phd
marked this pull request as ready for review
September 7, 2026 22:33
anisaoshafi
approved these changes
Sep 8, 2026
anisaoshafi
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for improving the setup 👏🏼
I'll be testing it this afternoon.
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.
Motivation
scripts/ec2-sandbox.shstarts up a throwaway Windows or Linux system on EC2 for testinglstkor LocalStack Toolkit. This PR adds some important features: run a real Docker Engine on Windows, build on ARM64 CPUs, and get a file onto the box without hand-rolling anscpcommand.Solution
Four additions to the sandbox script.
--containers=docker|podman— Windows sandboxes now default to real Docker Engine, accessible via\\.\pipe\docker_engine, the same endpoint Docker Desktop uses, sodocker.exeand lstk both find it with no configuration.--containers=podmankeeps the previous behaviour of using Podman.--arch=x64|arm64, required forcreate— Linux sandboxes can now be either ARM64 or x64 architecture. Windows is x64-only because ARM64 is not supported by Microsoft on their Windows server images (only on Windows Desktop).copyto <os> [--arch <a>] <path>— copies a file, or a directory and its contents, onto the sandbox's desktop (User's on Windows,user's on Linux). Important for manually installing.vsixfiles or other necessary test files.Every sandbox now also gets the AWS CLI, Terraform and the SAM CLI installed system-wide.