Docker forwards too many ports. Too much memory is consumed.
Describe the bug
When running the bash command bash <(curl https://i.hiddify.com/docker/latest) ( attached in the documentation at the link https://hiddify.com/manager/installation-and-setup/Install-Hiddify-using-Docker/ ) the docker process takes up all the memory on the host and the hiddify container does not start
docker-compose.yml contains the following configuration
services:
hiddify:
<--- TRUNCATED --->
ports:
- 443:443
- 80:80
- "11000-60000" #for custom protocols like hysteria tuic wiregaurd
The problem is the huge number of ports that are forwarded to the container. With this number of ports, docker on my host requested about 32GB of RAM
The problem is reproduced on: Ubuntu 22.04.4 LTS Docker version 27.0.3, build 7d4bcd8
To Reproduce Steps to reproduce the behavior:
- execute
bash <(curl https://i.hiddify.com/docker/latest)( there is currently a problem with latest tag. Applied the workaround described in https://github.com/hiddify/Hiddify-Manager/issues/4726 )
Expected behavior There are a huge number of ports not forwarded in docker-compose.yml
Screenshots
I have attached a recording of what the problem looks like.
Additional context If you want to give a user access on "any port", you can use network_mode: "host"
thanks for the info we will look into it
Also getting "manifest unknown" when trying ti pull ghcr.io/hiddify/hiddify-manager:latest