LocalStackDocker

Docker healthcheck fails due to missing virtualenv binary path

critical
availabilityUpdated Mar 12, 2026(via Exa)
How to detect:

The s3-latest Docker image's healthcheck fails because the configured path /opt/code/localstack/.venv/bin/localstack does not exist in the container, causing 'no such file or directory' errors. This prevents container orchestration systems from accurately determining container health status.

Recommended action:

Pull the updated localstack/localstack:s3-latest image (fixed as of March 17, 2026). Verify healthcheck status with 'docker inspect <container> | jq ".[].State.Health"'. For older images, update the healthcheck command to use the correct localstack binary path in your docker-compose.yml or docker run command.