You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then extract the LocalStack CLI from the terminal:
43
43
44
-
<Codecode={`$ sudo tar xvzf localstack-cli-${LOCALSTACK_VERSION}-linux-*-onefile.tar.gz -C /usr/local/bin`}lang="bash" />
44
+
<Codecode={`sudo tar xvzf localstack-cli-${LOCALSTACK_VERSION}-linux-*-onefile.tar.gz -C /usr/local/bin`}lang="bash" />
45
45
46
46
<details>
47
47
<summary>Alternative: Homebrew on Linux</summary>
48
48
49
49
If you are using [Homebrew for Linux](https://docs.brew.sh/Homebrew-on-Linux), you can install the LocalStack CLI directly from our official LocalStack tap:
Then extract the LocalStack CLI from the terminal:
78
78
79
-
<Codecode={`$ sudo tar xvzf localstack-cli-${LOCALSTACK_VERSION}-darwin-*-onefile.tar.gz -C /usr/local/bin`}lang="bash" />
79
+
<Codecode={`sudo tar xvzf localstack-cli-${LOCALSTACK_VERSION}-darwin-*-onefile.tar.gz -C /usr/local/bin`}lang="bash" />
80
80
81
81
</details>
82
82
</TabItem>
@@ -102,14 +102,14 @@ Please make sure to install the following before moving ahead:
102
102
Next install the LocalStack CLI in your Python environment by running:
103
103
104
104
```bash
105
-
$ python3 -m pip install --upgrade localstack
105
+
python3 -m pip install --upgrade localstack
106
106
```
107
107
108
108
:::note
109
109
To download a specific version of LocalStack, replace `<version>` with the required version from [release page](https://github.com/localstack/localstack/releases).
Start the container by running the following command:
287
287
288
288
```bash
289
-
$ docker compose up
289
+
docker compose up
290
290
```
291
291
292
292
:::note
@@ -314,8 +314,7 @@ Please note that there are a few pitfalls when configuring your stack manually v
314
314
We recommend using the LocalStack CLI to validate your configuration, which will print warning messages in case it detects any potential misconfigurations:
315
315
316
316
```bash
317
-
$ localstack config validate
318
-
...
317
+
localstack config validate
319
318
```
320
319
321
320
### Docker
@@ -337,7 +336,7 @@ You can start the Docker container simply by executing the following `docker run
337
336
338
337
<TabItemlabel="Community" >
339
338
```bash
340
-
$ docker run \
339
+
docker run \
341
340
--rm -it \
342
341
-p 127.0.0.1:4566:4566 \
343
342
-p 127.0.0.1:4510-4559:4510-4559 \
@@ -348,7 +347,7 @@ $ docker run \
348
347
349
348
<TabItemlabel="Pro" >
350
349
```bash
351
-
$ docker run \
350
+
docker run \
352
351
--rm -it \
353
352
-p 127.0.0.1:4566:4566 \
354
353
-p 127.0.0.1:4510-4559:4510-4559 \
@@ -397,8 +396,8 @@ If you want to deploy LocalStack in your [Kubernetes](https://kubernetes.io) clu
397
396
398
397
You can deploy LocalStack in a Kubernetes cluster by running these commands:
The Helm charts are not maintained in the main repository, but in a [separate one](https://github.com/localstack/helm-charts).
@@ -426,7 +425,7 @@ If you can successfully install LocalStack using `pip` but you cannot use it in
426
425
427
426
As a workaround you can call the LocalStack CLI python module directly:
428
427
```bash
429
-
$ python3 -m localstack.cli.main
428
+
python3 -m localstack.cli.main
430
429
```
431
430
432
431
#### The `localstack` CLI does not start the LocalStack container
@@ -435,7 +434,7 @@ If you are using the `localstack` CLI to start LocalStack, but the container is
435
434
- Uncheck the **Use kernel networking for UDP** option in Docker Desktop (**Settings** → **Resources** → **Network**) or follow the steps in our [documentation](https://docs.localstack.cloud/user-guide/tools/dns-server/#system-dns-configuration) to disable it.
436
435
- Start LocalStack with a specific DNS address:
437
436
```bash
438
-
$ DNS_ADDRESS=0 localstack start
437
+
DNS_ADDRESS=0 localstack start
439
438
```
440
439
- Remove port 53 as indicated in our [standard `docker-compose.yml` file](https://github.com/localstack/localstack/blob/master/docker-compose-pro.yml).
441
440
@@ -445,7 +444,7 @@ You can now avail logging output and error reporting using LocalStack logs.
445
444
To access the logs, run the following command:
446
445
447
446
```bash
448
-
$ localstack logs
447
+
localstack logs
449
448
```
450
449
451
450
AWS requests are now logged uniformly in the INFO log level (set by default or when `DEBUG=0`).
@@ -470,7 +469,7 @@ You can share the LocalStack logs with us to help us identify issues.
0 commit comments