docker context create ecs myecscontext
docker context use myecscontext
docker context ls

# start containers
docker compose up
docker compose -f docker-compose.ecs.yml up

# view exposed port and url like
docker compose ps

# remove infrastructure
docker compose down

# remove containers and clear them to free up space
docker system prune -a --volumes

Build and push to ECR

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin
docker push