This guide runs LocalStack using Docker Compose.
services:
localstack:
image: localstack/localstack:latest
ports:
- "4566:4566"
environment:
- SERVICES=s3,lambda,iam
Save it as docker-compose.yml.
docker compose up -d
Point AWS CLI or SDKs to http://localhost:4566.
See LocalStack Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.
Prefer automation? See LocalStack Ansible Setup for an example playbook.
Prefer containers? See LocalStack Docker Setup.
See LocalStack Security for hardening guidance.