Skip to content

Commit 0d4b8b3

Browse files
authored
DOC-147: Document Docker ECI workaround in FAQ (#646)
1 parent b8cd5ba commit 0d4b8b3

1 file changed

Lines changed: 26 additions & 6 deletions

File tree

  • src/content/docs/aws/getting-started

src/content/docs/aws/getting-started/faq.mdx

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
1515
To resolve the issue follow the steps:
1616

1717
1. **Update to the latest LocalStack version:** To resolve the SSL issues due to revoked certificate, we strongly recommend updating to the latest LocalStack version (v3.7.0 and above)for the most reliable and seamless experience.
18-
2. **Clear the cached certificate:** Its important to clear the cached certificate if you continue to experience the issue when updating to the latest LS version.
18+
2. **Clear the cached certificate:** It's important to clear the cached certificate if you continue to experience the issue when updating to the latest LS version.
1919
This can be done by deleting the cached certificate file.
2020
For example, on Linux systems, you can locate and remove the file at `~/.cache/localstack/volume/cache/server.test.pem`.
21-
The exact path may differ depending on your operating system and how youve started LocalStack.
21+
The exact path may differ depending on your operating system and how you've started LocalStack.
2222
Please refer to our [documentation](/aws/capabilities/config/filesystem/#localstack-volume-directory) for specific instructions.
2323

2424
**Workarounds for older (<v3.7.0) LocalStack versions:**
2525

2626
1. **Disable Certificate Download**: To prevent downloading a revoked certificate, set the environment variable `SKIP_SSL_CERT_DOWNLOAD=1`.
2727
This will cause LocalStack to use a self-signed SSL certificate.
28-
Additionally, its important to clear the cached certificate from your host machine as mentioned above.
28+
Additionally, it's important to clear the cached certificate from your host machine as mentioned above.
2929
2. **Use HTTP Instead of HTTPS**: Where possible, use `http://` instead of `https://` to avoid issues related to the revoked certificates.
3030
This workaround works with most browsers.
3131
However, Safari requires additional steps:
32-
2.1. **Safari Users**: To make this work, youll need to first navigate to the page in a new tab and accept the security warning.
32+
2.1. **Safari Users**: To make this work, you'll need to first navigate to the page in a new tab and accept the security warning.
3333
To do this, make sure that LocalStack is started with `SKIP_SSL_CERT_DOWNLOAD=1` and that you have cleared the cached certificate as mentioned above.
34-
Once youve accepted the warning, you should be able to proceed.
34+
Once you've accepted the warning, you should be able to proceed.
3535

3636
For other SSL-related issues encountered during startup — such as Python `CERTIFICATE_VERIFY_FAILED` tracebacks or corporate TLS interception — see [How do I diagnose if my SSL traffic is being intercepted by a corporate proxy?](#how-do-i-diagnose-if-my-ssl-traffic-is-being-intercepted-by-a-corporate-proxy).
3737

@@ -254,6 +254,26 @@ volumes:
254254

255255
For more details visit [Docker WSL documentation](https://docs.docker.com/desktop/wsl), [Docker WSL best practices](https://docs.docker.com/desktop/wsl/best-practices) and [Docker Volumes documentation](https://docs.docker.com/storage/volumes/).
256256

257+
### Why does LocalStack fail to start with "enhanced container isolation: Docker socket mount denied"?
258+
259+
This error occurs when Docker Desktop's [Enhanced Container Isolation](https://docs.docker.com/desktop/hardened-desktop/enhanced-container-isolation/) (ECI) feature is enabled, typically on Docker Business accounts, and LocalStack has not been added to the Docker socket mount allowlist.
260+
261+
To fix this, ask your Docker Desktop administrator to add `localstack/localstack` and `localstack/localstack-pro` to the allowlist in your organisation's Settings Management policy.
262+
``` json
263+
{
264+
"enhancedContainerIsolation": {
265+
"dockerSocketMount": {
266+
"imageList": {
267+
"images": [
268+
"docker.io/localstack/localstack-pro:**",
269+
"docker.io/localstack/localstack:**"
270+
],
271+
"allowDerivedImages": true
272+
}
273+
}
274+
}
275+
}
276+
```
257277
## Startup Troubleshooting FAQs
258278

259279
LocalStack startup failures most commonly come from one of three areas: **license activation**, **CA / SSL certificate validation**, or **outbound network access** (corporate proxies, Zscaler, restricted DNS).
@@ -830,4 +850,4 @@ This change requires you to explicitly grant the LocalStack Web Application perm
830850
5. Change the setting to **Allow**.
831851
6. Refresh the Web App page.
832852

833-
This resolves the issue by allowing the public-facing Web Application to access your LocalStack instance running on your local machine.
853+
This resolves the issue by allowing the public-facing Web Application to access your LocalStack instance running on your local machine.

0 commit comments

Comments
 (0)