Skip to content

Change port from 80 for rootless podman #5560

@hkcowboy

Description

@hkcowboy

Hi, I am trying to use onyx with rootless podman, however I got the below error when running docker compose up -d

[+] Running 9/10
 ✔ Container onyx-indexing_model_server-1   Running                                   0.0s
 ✔ Container onyx-minio-1                   Running                                   0.0s
 ✔ Container onyx-index-1                   Running                                   0.0s
 ✔ Container onyx-inference_model_server-1  Running                                   0.0s
 ✔ Container onyx-relational_db-1           Runni...                                  0.0s
 ✔ Container onyx-cache-1                   Running                                   0.0s
 ✔ Container onyx-background-1              Running                                   0.0s
 ✔ Container onyx-api_server-1              Running                                   0.0s
 ✔ Container onyx-web_server-1              Running                                   0.0s
 ⠙ Container onyx-nginx-1                   Starting                                  3.1s
Error response from daemon: rootlessport cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024), or choose a larger port number (>= 1024): listen tcp 0.0.0.0:80: bind: permission denied
Error: executing /usr/libexec/docker/cli-plugins/docker-compose up -d: exit status 1

Is there a way to change the port from 80 to something higher than 1024?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions