Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit a7fc144

Browse files
authored
Include `--network podman for better support with Lambdas in Podman docs (#1454)
1 parent a33b407 commit a7fc144

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/en/references/podman.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The simplest option is to run `localstack` using `podman` by having `podman-dock
4646
sudo systemctl start podman
4747

4848
# then
49-
sudo sh -c 'DEBUG=1 localstack start'
49+
sudo sh -c 'DEBUG=1 localstack start --network podman'
5050
```
5151

5252
### Rootfull Podman without podman-docker
@@ -56,7 +56,7 @@ sudo sh -c 'DEBUG=1 localstack start'
5656
sudo systemctl start podman
5757

5858
# you have to pass a bunch of env variables
59-
sudo sh -c 'DEBUG=1 DOCKER_CMD=podman DOCKER_HOST=unix://run/podman/podman.sock DOCKER_SOCK=/run/podman/podman.sock localstack start'
59+
sudo sh -c 'DEBUG=1 DOCKER_CMD=podman DOCKER_HOST=unix://run/podman/podman.sock DOCKER_SOCK=/run/podman/podman.sock localstack start --network podman'
6060
```
6161

6262
### Rootless Podman
@@ -71,13 +71,13 @@ You have to prepare your environment first:
7171
systemctl --user start podman.service
7272

7373
# and then localstack
74-
DEBUG=1 DOCKER_CMD="podman" DOCKER_SOCK=$XDG_RUNTIME_DIR/podman/podman.sock DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock localstack start
74+
DEBUG=1 DOCKER_CMD="podman" DOCKER_SOCK=$XDG_RUNTIME_DIR/podman/podman.sock DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock localstack start --network podman
7575
```
7676

7777
If you have problems with [subuid and subgid](https://wiki.archlinux.org/title/Podman#Set_subuid_and_subgid), you could try to use [overlay.ignore_chown_errors option](https://www.redhat.com/sysadmin/controlling-access-rootless-podman-users)
7878

7979
```sh
80-
DEBUG=1 DOCKER_CMD="podman --storage-opt overlay.ignore_chown_errors=true" DOCKER_SOCK=$XDG_RUNTIME_DIR/podman/podman.sock DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock localstack start
80+
DEBUG=1 DOCKER_CMD="podman --storage-opt overlay.ignore_chown_errors=true" DOCKER_SOCK=$XDG_RUNTIME_DIR/podman/podman.sock DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock localstack start --network podman
8181
```
8282

8383
### Podman on Windows
@@ -112,6 +112,8 @@ services:
112112
- "127.0.0.1:4566:4566"
113113
- "127.0.0.1:4510-4559:4510-4559"
114114
- "0.0.0.0:443:443"
115+
networks:
116+
- podman
115117
security_opt:
116118
- "label=disable"
117119
environment:

0 commit comments

Comments
 (0)