Skip to content

Commit ac6fe7e

Browse files
stasadevrfay
authored andcommitted
use unprivileged ports on macOS
1 parent 1242f51 commit ac6fe7e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/content/blog/podman-and-docker-rootless.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ This required major changes to how DDEV works with container runtimes. We rebuil
3939
- [Installing Podman](#installingpodman-1)
4040
- [Installing Docker CLI](#installing-dockercli-1)
4141
- [Configuring Podman](#configuringpodman)
42-
- [Common Podman Rootless Issues](#common-podmanrootlessissues)
4342
- [Windows](#windows)
4443
- [Installing Podman](#installingpodman-2)
4544
- [Running Multiple Container Runtimes](#running-multiple-containerruntimes)
@@ -482,6 +481,12 @@ Otherwise, set the `DOCKER_HOST` environment variable in your shell profile (`~/
482481
export DOCKER_HOST=unix://$(podman info --format '{{.Host.RemoteSocket.Path}}')
483482
```
484483
484+
Podman rootless is unable to bind to privileged ports (<1024) by default on macOS. To fix this, configure DDEV to use unprivileged ports:
485+
486+
```bash
487+
ddev config global --router-http-port=8080 --router-https-port=8443
488+
```
489+
485490
## Windows
486491
487492
Windows users can use Podman Desktop, but setup has its own challenges. Docker Rootless is not available on traditional Windows (it works in WSL2, see the [Linux and WSL2](#linux-and-wsl2) section).

0 commit comments

Comments
 (0)