1
0
Fork 0
mirror of https://github.com/louislam/dockge.git synced 2026-03-03 02:06:55 -05:00

Can't set memory ou CPU limits #234

Open
opened 2026-02-20 13:12:25 -05:00 by deekerman · 2 comments
Owner

Originally created by @wolfgangquatz on GitHub (Nov 10, 2025).

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

Hello!

I'm not able to set cpu or memory limits on compose. Already try lots of ways of compose but do not apply.

If I check "docker stats" to not show the limits that I set on compose and the containers are over the limit that I set.

Examples that I try:
services: ispyagentdvr: image: mekayelanik/ispyagentdvr:latest container_name: ispyagentdvr environment: - PUID=0 - PGID=0 - AGENTDVR_WEBUI_PORT=8090 - TZ=America/Sao_Paulo volumes: - /mnt/MainStorageShare/Docker/iSpy/config:/AgentDVR/Media/XML - /mnt/No Redundancy/IPCamera:/AgentDVR/Media/WebServerRoot/Media - /mnt/MainStorageShare/Docker/iSpy/command:/AgentDVR/Commands ports: - 8090:8090 - 3478:3478/udp - 50000-50100:50000-50100/udp restart: unless-stopped memswap_limit: "104857600" #HERE I TRY USING BYTES INSTEAD "M" OR "G" mem_limit: "104857600" networks: {}

services: ispyagentdvr: image: mekayelanik/ispyagentdvr:latest container_name: ispyagentdvr environment: - PUID=0 - PGID=0 - AGENTDVR_WEBUI_PORT=8090 - TZ=America/Sao_Paulo volumes: - /mnt/MainStorageShare/Docker/iSpy/config:/AgentDVR/Media/XML - /mnt/No Redundancy/IPCamera:/AgentDVR/Media/WebServerRoot/Media - /mnt/MainStorageShare/Docker/iSpy/command:/AgentDVR/Commands ports: - 8090:8090 - 3478:3478/udp - 50000-50100:50000-50100/udp deploy: resources: reservations: memory: 100m # #HERE I ALSO TRY USING BYTES INSTEAD "M" OR "G" BUT NO SUCESS limits: memory: 100m cpus: "0.2" networks: {}

By send "docker stats" oh truenas shell I recive:
"a5376ab7620a ispyagentdvr 42.32% 282.4MiB / 15.49GiB 1.78% 57MB / 872kB 0B / 0B 68 "

The memory limit is the system max memory, is't applying what I try define on compose.

👟 Reproduction steps

Try compose:

deploy: resources: reservations: memory: 100m # #HERE I ALSO TRY USING BYTES INSTEAD "M" OR "G" BUT NO SUCESS limits: memory: 100m cpus: "0.2"

or:

memswap_limit: "104857600" #HERE I TRY USING BYTES INSTEAD "M" OR "G" mem_limit: "104857600"

👀 Expected behavior

Set memory and cpu limit of container and the result showing on send comand "docker stats"

😓 Actual Behavior

Memory and cpu limit are not applying.

Dockge Version

Version: 1.5.0

💻 Operating System and Arch

Truenas Scale - 25.10.0 - Goldeye

🌐 Browser

Chrome

🐋 Docker Version

Docker version 28.3.1, build 38b7060

🟩 NodeJS Version

No response

📝 Relevant log output

Docker inspect the container: 

                        "HostIp": "::",
                        "HostPort": "50000"
                    }
                ],
                "50001/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50001"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50001"
                    }
                ],
                "50002/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50002"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50002"
                    }
                ],
                "50003/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50003"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50003"
                    }
                ],
                "50004/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50004"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50004"
                    }
                ],
                "50005/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50005"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50005"
                    }
                ],
                "50006/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50006"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50006"
                    }
                ],
                "50007/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50007"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50007"
                    }
                ],
                "50008/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50008"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50008"
                    }
                ],
                "50009/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50009"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50009"
                    }
                ],
                "50010/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50010"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50010"
                    }
                ],
                "50011/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50011"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50011"
                    }
                ],
                "50012/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50012"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50012"
                    }
                ],
                "50013/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50013"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50013"
                    }
                ],
                "50014/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50014"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50014"
                    }
                ],
                "50015/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50015"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50015"
                    }
                ],
                "50016/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50016"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50016"
                    }
                ],
                "50017/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50017"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50017"
                    }
                ],
                "50018/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50018"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50018"
                    }
                ],
                "50019/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50019"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50019"
                    }
                ],
                "50020/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50020"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50020"
                    }
                ],
                "50021/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50021"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50021"
                    }
                ],
                "50022/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50022"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50022"
                    }
                ],
                "50023/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50023"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50023"
                    }
                ],
                "50024/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50024"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50024"
                    }
                ],
                "50025/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50025"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50025"
                    }
                ],
                "50026/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50026"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50026"
                    }
                ],
                "50027/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50027"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50027"
                    }
                ],
                "50028/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50028"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50028"
                    }
                ],
                "50029/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50029"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50029"
                    }
                ],
                "50030/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50030"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50030"
                    }
                ],
                "50031/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50031"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50031"
                    }
                ],
                "50032/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50032"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50032"
                    }
                ],
                "50033/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50033"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50033"
                    }
                ],
                "50034/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50034"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50034"
                    }
                ],
                "50035/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50035"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50035"
                    }
                ],
                "50036/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50036"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50036"
                    }
                ],
                "50037/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50037"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50037"
                    }
                ],
                "50038/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50038"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50038"
                    }
                ],
                "50039/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50039"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50039"
                    }
                ],
                "50040/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50040"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50040"
                    }
                ],
                "50041/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50041"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50041"
                    }
                ],
                "50042/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50042"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50042"
                    }
                ],
                "50043/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50043"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50043"
                    }
                ],
                "50044/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50044"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50044"
                    }
                ],
                "50045/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50045"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50045"
                    }
                ],
                "50046/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50046"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50046"
                    }
                ],
                "50047/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50047"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50047"
                    }
                ],
                "50048/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50048"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50048"
                    }
                ],
                "50049/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50049"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50049"
                    }
                ],
                "50050/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50050"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50050"
                    }
                ],
                "50051/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50051"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50051"
                    }
                ],
                "50052/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50052"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50052"
                    }
                ],
                "50053/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50053"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50053"
                    }
                ],
                "50054/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50054"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50054"
                    }
                ],
                "50055/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50055"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50055"
                    }
                ],
                "50056/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50056"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50056"
                    }
                ],
                "50057/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50057"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50057"
                    }
                ],
                "50058/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50058"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50058"
                    }
                ],
                "50059/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50059"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50059"
                    }
                ],
                "50060/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50060"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50060"
                    }
                ],
                "50061/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50061"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50061"
                    }
                ],
                "50062/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50062"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50062"
                    }
                ],
                "50063/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50063"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50063"
                    }
                ],
                "50064/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50064"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50064"
                    }
                ],
                "50065/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50065"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50065"
                    }
                ],
                "50066/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50066"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50066"
                    }
                ],
                "50067/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50067"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50067"
                    }
                ],
                "50068/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50068"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50068"
                    }
                ],
                "50069/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50069"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50069"
                    }
                ],
                "50070/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50070"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50070"
                    }
                ],
                "50071/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50071"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50071"
                    }
                ],
                "50072/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50072"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50072"
                    }
                ],
                "50073/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50073"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50073"
                    }
                ],
                "50074/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50074"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50074"
                    }
                ],
                "50075/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50075"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50075"
                    }
                ],
                "50076/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50076"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50076"
                    }
                ],
                "50077/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50077"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50077"
                    }
                ],
                "50078/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50078"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50078"
                    }
                ],
                "50079/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50079"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50079"
                    }
                ],
                "50080/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50080"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50080"
                    }
                ],
                "50081/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50081"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50081"
                    }
                ],
                "50082/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50082"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50082"
                    }
                ],
                "50083/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50083"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50083"
                    }
                ],
                "50084/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50084"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50084"
                    }
                ],
                "50085/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50085"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50085"
                    }
                ],
                "50086/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50086"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50086"
                    }
                ],
                "50087/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50087"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50087"
                    }
                ],
                "50088/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50088"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50088"
                    }
                ],
                "50089/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50089"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50089"
                    }
                ],
                "50090/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50090"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50090"
                    }
                ],
                "50091/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50091"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50091"
                    }
                ],
                "50092/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50092"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50092"
                    }
                ],
                "50093/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50093"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50093"
                    }
                ],
                "50094/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50094"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50094"
                    }
                ],
                "50095/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50095"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50095"
                    }
                ],
                "50096/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50096"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50096"
                    }
                ],
                "50097/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50097"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50097"
                    }
                ],
                "50098/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50098"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50098"
                    }
                ],
                "50099/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50099"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50099"
                    }
                ],
                "50100/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "50100"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "50100"
                    }
                ],
                "8090/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8090"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8090"
                    }
                ]
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "ispyagentdvr_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "ispyagentdvr",
                        "ispyagentdvr"
                    ],
                    "MacAddress": "66:b9:1b:2f:75:6a",
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "0454b27b457e4d92ee477cc564fa13d1f76666f7a5e61fcded1297c45186b489",
                    "EndpointID": "2f5d2b7411854e8537de8119bf5a3a72aca249bee2b4bdeeb89b07fde8281eda",
                    "Gateway": "172.16.6.1",
                    "IPAddress": "172.16.6.2",
                    "IPPrefixLen": 24,
                    "IPv6Gateway": "fdd0:0:0:6::1",
                    "GlobalIPv6Address": "fdd0:0:0:6::2",
                    "GlobalIPv6PrefixLen": 64,
                    "DNSNames": [
                        "ispyagentdvr",
                        "a5376ab7620a"
                    ]
                }
            }
        }
    }
]

Container terminal: 

ispyagentdvr  |                          __                           _        _ _ _  _        _        _           
ispyagentdvr  |                       _       _   _____                      _         _               _            
ispyagentdvr  |                   __            _______ _         _          ______         _      __               
ispyagentdvr  |                 _   _         ______ _      _        _         ______                  __           
ispyagentdvr  |             __  _            _____      _       _         _      _____                    __        
ispyagentdvr  |           _        __       _ ________________                     ____      _  _            _      
ispyagentdvr  |            _     _    __   ___________________                      ____             _          _   
ispyagentdvr  |         _                 __________________   ___________ _    _    ____         _      _      _ _ 
ispyagentdvr  |           _         _     _______________  _   ______ _____        _ ____                           
ispyagentdvr  |                           ______________  _    ___      _____        ____           _               
ispyagentdvr  |        _                  ______________     _ ____     ____                     _                  
ispyagentdvr  |      _ _                   __ ____________     ____________  _       ____       _   _               
ispyagentdvr  |    __    _                _______________       __________  ___     _____      _ _                  
ispyagentdvr  |           _                ________________ _ __    _     ______     ___        _                   
ispyagentdvr  |                            __________________      _   _________    ___            _                
ispyagentdvr  |                             _____________________________________  ___     _ _                      
ispyagentdvr  |                               _______________________________________         _  _                  
ispyagentdvr  |                                _____________________________________    _   _ _                     
ispyagentdvr  |                                  _________________________________    _  __                         
ispyagentdvr  |                                     ___________________________     _  __ _                         
ispyagentdvr  |                                        _____________________     _                                  
ispyagentdvr  |                      __ ______                _______         _ _       _                           
ispyagentdvr  |                                    ______                ____        _                              
ispyagentdvr  |                               _ _         _   _         _       _                                   
ispyagentdvr  |                                            _        _                                               
ispyagentdvr  |                                                   _                                                 
ispyagentdvr  | 
ispyagentdvr  |  888888ba                                      dP         dP        dP                                             dP                dP  
ispyagentdvr  |  88     8b                                     88         88        88                                             88                88  
ispyagentdvr  |  a88aaaa8P 88d888b. .d8888b. dP    dP .d8888b. 88d888b. d8888P    d8888P .d8888b.    dp    dp .d8888b. dP    dP    88d888b. dP    dP     
ispyagentdvr  |  88    8b. 88    88 88    88 88    88 88    88 88    88   88        88   88    88    88    88 88    88 88    88    88    88 88    88     
ispyagentdvr  |  88    .88 88       88.  .88 88.  .88 88.  .88 88    88   88        88   88.  .88    88.  .88 88.  .88 88.  .88    88.  .88 88.  .88 dP  
ispyagentdvr  |  88888888P dP        88888P   88888P   8888P88 dP    dP   888P      888P  88888P      8888P88  88888P   88888P     88Y8888   8888P88 88  
ispyagentdvr  |                                            .88                                           .88                                     .88     
ispyagentdvr  |                                        d8888P                                        d8888P                                  d8888P
ispyagentdvr  |  ███╗   ███╗██████╗        ███╗   ███╗███████╗██╗  ██╗ █████╗ ██╗   ██╗███████╗██╗          █████╗ ███╗   ██╗██╗██╗  ██╗       
ispyagentdvr  |  ████╗ ████║██╔══██╗       ████╗ ████║██╔════╝██║ ██╔╝██╔══██╗╚██╗ ██╔╝██╔════╝██║         ██╔══██╗████╗  ██║██║██║ ██╔╝      
ispyagentdvr  |  ██╔████╔██║██║  ██║       ██╔████╔██║█████╗  █████╔╝ ███████║ ╚████╔╝ █████╗  ██║         ███████║██╔██╗ ██║██║█████╔╝      
ispyagentdvr  |  ██║╚██╔╝██║██║  ██║       ██║╚██╔╝██║██╔══╝  ██╔═██╗ ██╔══██║  ╚██╔╝  ██╔══╝  ██║         ██╔══██║██║╚██╗██║██║██╔═██╗     
ispyagentdvr  |  ██║ ╚═╝ ██║██████╔╝██╗    ██║ ╚═╝ ██║███████╗██║  ██╗██║  ██║   ██║   ███████╗███████╗    ██║  ██║██║ ╚████║██║██║  ██╗   
ispyagentdvr  |  ╚═╝     ╚═╝╚═════╝ ╚═╝    ╚═╝     ╚═╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚══════╝    ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝  ╚═╝  
ispyagentdvr  | 
ispyagentdvr  | ______________________________________________________________________________________________________________________________________________
ispyagentdvr  |  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Starting iSpy Agent DVR Surveillance System! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
ispyagentdvr  |  Current AgentDVR Docker Image: 6.8.4.0
ispyagentdvr  |  FFMPEG VERSION: FFMPEG_VERSION="7.1.2-3-trixie"
ispyagentdvr  |  If this Container is deployed on a Docker-Macvlan or Docker-IPvlan Network, then the IP Address of this AgentDVR container is: #CONFIDENTIAL, Otherwise the AgentDVR IP is the IP of your HOST Server IP or localhost if you are accessing the WebUI from a Browser on the HOST Server.
ispyagentdvr  | 
ispyagentdvr  |  AgentDVR WebUI can be accessed on PORT: 8090
ispyagentdvr  | 
ispyagentdvr  |  Therefore Most Probable AgentDVR WebUI Address: 172.16.6.2:8090 or Your-HOST-Server-IP:8090 or localhost:8090
ispyagentdvr  |  iSpy Agent DVR is free to use locally for private use. You can add as many cameras as you like.
ispyagentdvr  |  SSL secured web access, SMS, Twitter, email alerts, mobile device access, cloud uploads, Virtual Reality and other services that use iSpy Agent DVR online platform require a subscription or an annual payment.
ispyagentdvr  |  If you desire to obtain a Subscription plan or want a Business License, please visit https://www.ispyconnect.com/pricing.aspx
ispyagentdvr  | 
ispyagentdvr  | The base image was updated on: Sun Nov  2 06:43:32 2025 : Bangladesh Time (UTC+06)
ispyagentdvr  | This docker image was built at: Thu Nov  6 05:18:33 +06 2025 : Bangladesh Time (UTC+06)
ispyagentdvr  | This Container was started on: Mon Nov 10 10:16:21 -03 2025
ispyagentdvr  | PUID=0 (root) detected. Running as root.
ispyagentdvr  | ====================================================================
ispyagentdvr  | Verifying write permissions for user: root
ispyagentdvr  | ====================================================================
ispyagentdvr  | Checking /AgentDVR/Media/XML ... OK
ispyagentdvr  | Checking /AgentDVR/Media/WebServerRoot/Media ... OK
ispyagentdvr  | Checking /AgentDVR/Commands ... OK
ispyagentdvr  | Checking /AgentDVR/Masks ... OK
ispyagentdvr  | Checking /AgentDVR/sounds ... OK
ispyagentdvr  | All required permissions verified successfully
ispyagentdvr  | Init: Log start
ispyagentdvr  | Go: Agent (v6.8.4.0)
ispyagentdvr  | Go: Starting...
ispyagentdvr  | Go: Detected: Linux64(in docker)
ispyagentdvr  | Go: Creating temp path for opencv in /tmp/
ispyagentdvr  | Go: Get com port list
ispyagentdvr  | Go: Drive space not available in Docker
ispyagentdvr  | Conf: Check /AgentDVR/Media/WebServerRoot/Media/
ispyagentdvr  | Conf: We STRONGLY recommend setting at least a 100 port range in server settings - local server - turn server min/ max port. Currently you only have 10 TURN ports available.
ispyagentdvr  | StartUp: Computer Name: #CONFIDENTIAL
ispyagentdvr  | StartUp: Init FFmpeg
ispyagentdvr  | TryLoad: /AgentDVR/ffmpeg7/lib not found
ispyagentdvr  | TryLoad: /AgentDVR/ffmpeg-v7/workspace/lib not found
ispyagentdvr  | TryLoad: Checking for libavcodec.so.61 in /usr/local/lib
ispyagentdvr  | TryLoad: Checking for libavcodec.so.61 in /usr/lib/x86_64-linux-gnu
ispyagentdvr  | TryLoadBinaries: Looking for ffmpeg in /usr/lib/x86_64-linux-gnu
ispyagentdvr  | TryLoad: Found FFmpeg7 in /usr/lib/x86_64-linux-gnu
ispyagentdvr  | Init: ffmpeg path: /usr/lib/x86_64-linux-gnu
ispyagentdvr  | Init: Initializing devices
ispyagentdvr  | Init: Preloading Images
ispyagentdvr  | LoadVideoDevices: Found 0 video devices
ispyagentdvr  | StartUp: Init Languages
ispyagentdvr  | StartUp: Init SDL
ispyagentdvr  | CreateAsync: Checking database integrity...
ispyagentdvr  | CreateAsync: Database connection is healthy.
ispyagentdvr  | CreateAsync: Initializing tables...
ispyagentdvr  | InitializeTables: Reclaiming space in database
ispyagentdvr  | InitialiseTURNServer: Starting TURN server at #CONFIDENTIAL
ispyagentdvr  | InitServer: Access locally at http://localhost:8090/
ispyagentdvr  | StartUp: LogLevel: Warning
ispyagentdvr  | StartAsync: Starting Connection Monitor
ispyagentdvr  | Initialize_OnInitialized: Running at http://localhost:8090/
Originally created by @wolfgangquatz on GitHub (Nov 10, 2025). ### ⚠️ Please verify that this bug has NOT been reported before. - [x] I checked and didn't find similar issue ### 🛡️ Security Policy - [x] I agree to have read this project [Security Policy](https://github.com/louislam/dockge/security/policy) ### Description Hello! I'm not able to set cpu or memory limits on compose. Already try lots of ways of compose but do not apply. If I check "docker stats" to not show the limits that I set on compose and the containers are over the limit that I set. Examples that I try: `services: ispyagentdvr: image: mekayelanik/ispyagentdvr:latest container_name: ispyagentdvr environment: - PUID=0 - PGID=0 - AGENTDVR_WEBUI_PORT=8090 - TZ=America/Sao_Paulo volumes: - /mnt/MainStorageShare/Docker/iSpy/config:/AgentDVR/Media/XML - /mnt/No Redundancy/IPCamera:/AgentDVR/Media/WebServerRoot/Media - /mnt/MainStorageShare/Docker/iSpy/command:/AgentDVR/Commands ports: - 8090:8090 - 3478:3478/udp - 50000-50100:50000-50100/udp restart: unless-stopped memswap_limit: "104857600" #HERE I TRY USING BYTES INSTEAD "M" OR "G" mem_limit: "104857600" networks: {}` `services: ispyagentdvr: image: mekayelanik/ispyagentdvr:latest container_name: ispyagentdvr environment: - PUID=0 - PGID=0 - AGENTDVR_WEBUI_PORT=8090 - TZ=America/Sao_Paulo volumes: - /mnt/MainStorageShare/Docker/iSpy/config:/AgentDVR/Media/XML - /mnt/No Redundancy/IPCamera:/AgentDVR/Media/WebServerRoot/Media - /mnt/MainStorageShare/Docker/iSpy/command:/AgentDVR/Commands ports: - 8090:8090 - 3478:3478/udp - 50000-50100:50000-50100/udp deploy: resources: reservations: memory: 100m # #HERE I ALSO TRY USING BYTES INSTEAD "M" OR "G" BUT NO SUCESS limits: memory: 100m cpus: "0.2" networks: {}` By send "docker stats" oh truenas shell I recive: "a5376ab7620a ispyagentdvr 42.32% 282.4MiB / 15.49GiB 1.78% 57MB / 872kB 0B / 0B 68 " The memory limit is the system max memory, is't applying what I try define on compose. ### 👟 Reproduction steps Try compose: ` deploy: resources: reservations: memory: 100m # #HERE I ALSO TRY USING BYTES INSTEAD "M" OR "G" BUT NO SUCESS limits: memory: 100m cpus: "0.2"` or: ` memswap_limit: "104857600" #HERE I TRY USING BYTES INSTEAD "M" OR "G" mem_limit: "104857600"` ### 👀 Expected behavior Set memory and cpu limit of container and the result showing on send comand "docker stats" ### 😓 Actual Behavior Memory and cpu limit are not applying. ### Dockge Version Version: 1.5.0 ### 💻 Operating System and Arch Truenas Scale - 25.10.0 - Goldeye ### 🌐 Browser Chrome ### 🐋 Docker Version Docker version 28.3.1, build 38b7060 ### 🟩 NodeJS Version _No response_ ### 📝 Relevant log output ```shell Docker inspect the container: "HostIp": "::", "HostPort": "50000" } ], "50001/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50001" }, { "HostIp": "::", "HostPort": "50001" } ], "50002/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50002" }, { "HostIp": "::", "HostPort": "50002" } ], "50003/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50003" }, { "HostIp": "::", "HostPort": "50003" } ], "50004/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50004" }, { "HostIp": "::", "HostPort": "50004" } ], "50005/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50005" }, { "HostIp": "::", "HostPort": "50005" } ], "50006/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50006" }, { "HostIp": "::", "HostPort": "50006" } ], "50007/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50007" }, { "HostIp": "::", "HostPort": "50007" } ], "50008/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50008" }, { "HostIp": "::", "HostPort": "50008" } ], "50009/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50009" }, { "HostIp": "::", "HostPort": "50009" } ], "50010/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50010" }, { "HostIp": "::", "HostPort": "50010" } ], "50011/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50011" }, { "HostIp": "::", "HostPort": "50011" } ], "50012/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50012" }, { "HostIp": "::", "HostPort": "50012" } ], "50013/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50013" }, { "HostIp": "::", "HostPort": "50013" } ], "50014/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50014" }, { "HostIp": "::", "HostPort": "50014" } ], "50015/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50015" }, { "HostIp": "::", "HostPort": "50015" } ], "50016/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50016" }, { "HostIp": "::", "HostPort": "50016" } ], "50017/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50017" }, { "HostIp": "::", "HostPort": "50017" } ], "50018/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50018" }, { "HostIp": "::", "HostPort": "50018" } ], "50019/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50019" }, { "HostIp": "::", "HostPort": "50019" } ], "50020/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50020" }, { "HostIp": "::", "HostPort": "50020" } ], "50021/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50021" }, { "HostIp": "::", "HostPort": "50021" } ], "50022/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50022" }, { "HostIp": "::", "HostPort": "50022" } ], "50023/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50023" }, { "HostIp": "::", "HostPort": "50023" } ], "50024/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50024" }, { "HostIp": "::", "HostPort": "50024" } ], "50025/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50025" }, { "HostIp": "::", "HostPort": "50025" } ], "50026/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50026" }, { "HostIp": "::", "HostPort": "50026" } ], "50027/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50027" }, { "HostIp": "::", "HostPort": "50027" } ], "50028/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50028" }, { "HostIp": "::", "HostPort": "50028" } ], "50029/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50029" }, { "HostIp": "::", "HostPort": "50029" } ], "50030/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50030" }, { "HostIp": "::", "HostPort": "50030" } ], "50031/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50031" }, { "HostIp": "::", "HostPort": "50031" } ], "50032/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50032" }, { "HostIp": "::", "HostPort": "50032" } ], "50033/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50033" }, { "HostIp": "::", "HostPort": "50033" } ], "50034/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50034" }, { "HostIp": "::", "HostPort": "50034" } ], "50035/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50035" }, { "HostIp": "::", "HostPort": "50035" } ], "50036/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50036" }, { "HostIp": "::", "HostPort": "50036" } ], "50037/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50037" }, { "HostIp": "::", "HostPort": "50037" } ], "50038/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50038" }, { "HostIp": "::", "HostPort": "50038" } ], "50039/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50039" }, { "HostIp": "::", "HostPort": "50039" } ], "50040/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50040" }, { "HostIp": "::", "HostPort": "50040" } ], "50041/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50041" }, { "HostIp": "::", "HostPort": "50041" } ], "50042/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50042" }, { "HostIp": "::", "HostPort": "50042" } ], "50043/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50043" }, { "HostIp": "::", "HostPort": "50043" } ], "50044/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50044" }, { "HostIp": "::", "HostPort": "50044" } ], "50045/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50045" }, { "HostIp": "::", "HostPort": "50045" } ], "50046/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50046" }, { "HostIp": "::", "HostPort": "50046" } ], "50047/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50047" }, { "HostIp": "::", "HostPort": "50047" } ], "50048/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50048" }, { "HostIp": "::", "HostPort": "50048" } ], "50049/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50049" }, { "HostIp": "::", "HostPort": "50049" } ], "50050/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50050" }, { "HostIp": "::", "HostPort": "50050" } ], "50051/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50051" }, { "HostIp": "::", "HostPort": "50051" } ], "50052/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50052" }, { "HostIp": "::", "HostPort": "50052" } ], "50053/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50053" }, { "HostIp": "::", "HostPort": "50053" } ], "50054/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50054" }, { "HostIp": "::", "HostPort": "50054" } ], "50055/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50055" }, { "HostIp": "::", "HostPort": "50055" } ], "50056/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50056" }, { "HostIp": "::", "HostPort": "50056" } ], "50057/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50057" }, { "HostIp": "::", "HostPort": "50057" } ], "50058/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50058" }, { "HostIp": "::", "HostPort": "50058" } ], "50059/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50059" }, { "HostIp": "::", "HostPort": "50059" } ], "50060/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50060" }, { "HostIp": "::", "HostPort": "50060" } ], "50061/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50061" }, { "HostIp": "::", "HostPort": "50061" } ], "50062/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50062" }, { "HostIp": "::", "HostPort": "50062" } ], "50063/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50063" }, { "HostIp": "::", "HostPort": "50063" } ], "50064/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50064" }, { "HostIp": "::", "HostPort": "50064" } ], "50065/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50065" }, { "HostIp": "::", "HostPort": "50065" } ], "50066/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50066" }, { "HostIp": "::", "HostPort": "50066" } ], "50067/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50067" }, { "HostIp": "::", "HostPort": "50067" } ], "50068/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50068" }, { "HostIp": "::", "HostPort": "50068" } ], "50069/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50069" }, { "HostIp": "::", "HostPort": "50069" } ], "50070/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50070" }, { "HostIp": "::", "HostPort": "50070" } ], "50071/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50071" }, { "HostIp": "::", "HostPort": "50071" } ], "50072/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50072" }, { "HostIp": "::", "HostPort": "50072" } ], "50073/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50073" }, { "HostIp": "::", "HostPort": "50073" } ], "50074/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50074" }, { "HostIp": "::", "HostPort": "50074" } ], "50075/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50075" }, { "HostIp": "::", "HostPort": "50075" } ], "50076/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50076" }, { "HostIp": "::", "HostPort": "50076" } ], "50077/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50077" }, { "HostIp": "::", "HostPort": "50077" } ], "50078/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50078" }, { "HostIp": "::", "HostPort": "50078" } ], "50079/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50079" }, { "HostIp": "::", "HostPort": "50079" } ], "50080/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50080" }, { "HostIp": "::", "HostPort": "50080" } ], "50081/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50081" }, { "HostIp": "::", "HostPort": "50081" } ], "50082/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50082" }, { "HostIp": "::", "HostPort": "50082" } ], "50083/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50083" }, { "HostIp": "::", "HostPort": "50083" } ], "50084/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50084" }, { "HostIp": "::", "HostPort": "50084" } ], "50085/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50085" }, { "HostIp": "::", "HostPort": "50085" } ], "50086/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50086" }, { "HostIp": "::", "HostPort": "50086" } ], "50087/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50087" }, { "HostIp": "::", "HostPort": "50087" } ], "50088/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50088" }, { "HostIp": "::", "HostPort": "50088" } ], "50089/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50089" }, { "HostIp": "::", "HostPort": "50089" } ], "50090/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50090" }, { "HostIp": "::", "HostPort": "50090" } ], "50091/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50091" }, { "HostIp": "::", "HostPort": "50091" } ], "50092/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50092" }, { "HostIp": "::", "HostPort": "50092" } ], "50093/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50093" }, { "HostIp": "::", "HostPort": "50093" } ], "50094/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50094" }, { "HostIp": "::", "HostPort": "50094" } ], "50095/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50095" }, { "HostIp": "::", "HostPort": "50095" } ], "50096/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50096" }, { "HostIp": "::", "HostPort": "50096" } ], "50097/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50097" }, { "HostIp": "::", "HostPort": "50097" } ], "50098/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50098" }, { "HostIp": "::", "HostPort": "50098" } ], "50099/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50099" }, { "HostIp": "::", "HostPort": "50099" } ], "50100/udp": [ { "HostIp": "0.0.0.0", "HostPort": "50100" }, { "HostIp": "::", "HostPort": "50100" } ], "8090/tcp": [ { "HostIp": "0.0.0.0", "HostPort": "8090" }, { "HostIp": "::", "HostPort": "8090" } ] }, "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "ispyagentdvr_default": { "IPAMConfig": null, "Links": null, "Aliases": [ "ispyagentdvr", "ispyagentdvr" ], "MacAddress": "66:b9:1b:2f:75:6a", "DriverOpts": null, "GwPriority": 0, "NetworkID": "0454b27b457e4d92ee477cc564fa13d1f76666f7a5e61fcded1297c45186b489", "EndpointID": "2f5d2b7411854e8537de8119bf5a3a72aca249bee2b4bdeeb89b07fde8281eda", "Gateway": "172.16.6.1", "IPAddress": "172.16.6.2", "IPPrefixLen": 24, "IPv6Gateway": "fdd0:0:0:6::1", "GlobalIPv6Address": "fdd0:0:0:6::2", "GlobalIPv6PrefixLen": 64, "DNSNames": [ "ispyagentdvr", "a5376ab7620a" ] } } } } ] Container terminal: ispyagentdvr | __ _ _ _ _ _ _ _ ispyagentdvr | _ _ _____ _ _ _ ispyagentdvr | __ _______ _ _ ______ _ __ ispyagentdvr | _ _ ______ _ _ _ ______ __ ispyagentdvr | __ _ _____ _ _ _ _____ __ ispyagentdvr | _ __ _ ________________ ____ _ _ _ ispyagentdvr | _ _ __ ___________________ ____ _ _ ispyagentdvr | _ __________________ ___________ _ _ ____ _ _ _ _ ispyagentdvr | _ _ _______________ _ ______ _____ _ ____ ispyagentdvr | ______________ _ ___ _____ ____ _ ispyagentdvr | _ ______________ _ ____ ____ _ ispyagentdvr | _ _ __ ____________ ____________ _ ____ _ _ ispyagentdvr | __ _ _______________ __________ ___ _____ _ _ ispyagentdvr | _ ________________ _ __ _ ______ ___ _ ispyagentdvr | __________________ _ _________ ___ _ ispyagentdvr | _____________________________________ ___ _ _ ispyagentdvr | _______________________________________ _ _ ispyagentdvr | _____________________________________ _ _ _ ispyagentdvr | _________________________________ _ __ ispyagentdvr | ___________________________ _ __ _ ispyagentdvr | _____________________ _ ispyagentdvr | __ ______ _______ _ _ _ ispyagentdvr | ______ ____ _ ispyagentdvr | _ _ _ _ _ _ ispyagentdvr | _ _ ispyagentdvr | _ ispyagentdvr | ispyagentdvr | 888888ba dP dP dP dP dP ispyagentdvr | 88 8b 88 88 88 88 88 ispyagentdvr | a88aaaa8P 88d888b. .d8888b. dP dP .d8888b. 88d888b. d8888P d8888P .d8888b. dp dp .d8888b. dP dP 88d888b. dP dP ispyagentdvr | 88 8b. 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 ispyagentdvr | 88 .88 88 88. .88 88. .88 88. .88 88 88 88 88 88. .88 88. .88 88. .88 88. .88 88. .88 88. .88 dP ispyagentdvr | 88888888P dP 88888P 88888P 8888P88 dP dP 888P 888P 88888P 8888P88 88888P 88888P 88Y8888 8888P88 88 ispyagentdvr | .88 .88 .88 ispyagentdvr | d8888P d8888P d8888P ispyagentdvr | ███╗ ███╗██████╗ ███╗ ███╗███████╗██╗ ██╗ █████╗ ██╗ ██╗███████╗██╗ █████╗ ███╗ ██╗██╗██╗ ██╗ ispyagentdvr | ████╗ ████║██╔══██╗ ████╗ ████║██╔════╝██║ ██╔╝██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██╔══██╗████╗ ██║██║██║ ██╔╝ ispyagentdvr | ██╔████╔██║██║ ██║ ██╔████╔██║█████╗ █████╔╝ ███████║ ╚████╔╝ █████╗ ██║ ███████║██╔██╗ ██║██║█████╔╝ ispyagentdvr | ██║╚██╔╝██║██║ ██║ ██║╚██╔╝██║██╔══╝ ██╔═██╗ ██╔══██║ ╚██╔╝ ██╔══╝ ██║ ██╔══██║██║╚██╗██║██║██╔═██╗ ispyagentdvr | ██║ ╚═╝ ██║██████╔╝██╗ ██║ ╚═╝ ██║███████╗██║ ██╗██║ ██║ ██║ ███████╗███████╗ ██║ ██║██║ ╚████║██║██║ ██╗ ispyagentdvr | ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ispyagentdvr | ispyagentdvr | ______________________________________________________________________________________________________________________________________________ ispyagentdvr | >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Starting iSpy Agent DVR Surveillance System! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ispyagentdvr | Current AgentDVR Docker Image: 6.8.4.0 ispyagentdvr | FFMPEG VERSION: FFMPEG_VERSION="7.1.2-3-trixie" ispyagentdvr | If this Container is deployed on a Docker-Macvlan or Docker-IPvlan Network, then the IP Address of this AgentDVR container is: #CONFIDENTIAL, Otherwise the AgentDVR IP is the IP of your HOST Server IP or localhost if you are accessing the WebUI from a Browser on the HOST Server. ispyagentdvr | ispyagentdvr | AgentDVR WebUI can be accessed on PORT: 8090 ispyagentdvr | ispyagentdvr | Therefore Most Probable AgentDVR WebUI Address: 172.16.6.2:8090 or Your-HOST-Server-IP:8090 or localhost:8090 ispyagentdvr | iSpy Agent DVR is free to use locally for private use. You can add as many cameras as you like. ispyagentdvr | SSL secured web access, SMS, Twitter, email alerts, mobile device access, cloud uploads, Virtual Reality and other services that use iSpy Agent DVR online platform require a subscription or an annual payment. ispyagentdvr | If you desire to obtain a Subscription plan or want a Business License, please visit https://www.ispyconnect.com/pricing.aspx ispyagentdvr | ispyagentdvr | The base image was updated on: Sun Nov 2 06:43:32 2025 : Bangladesh Time (UTC+06) ispyagentdvr | This docker image was built at: Thu Nov 6 05:18:33 +06 2025 : Bangladesh Time (UTC+06) ispyagentdvr | This Container was started on: Mon Nov 10 10:16:21 -03 2025 ispyagentdvr | PUID=0 (root) detected. Running as root. ispyagentdvr | ==================================================================== ispyagentdvr | Verifying write permissions for user: root ispyagentdvr | ==================================================================== ispyagentdvr | Checking /AgentDVR/Media/XML ... OK ispyagentdvr | Checking /AgentDVR/Media/WebServerRoot/Media ... OK ispyagentdvr | Checking /AgentDVR/Commands ... OK ispyagentdvr | Checking /AgentDVR/Masks ... OK ispyagentdvr | Checking /AgentDVR/sounds ... OK ispyagentdvr | All required permissions verified successfully ispyagentdvr | Init: Log start ispyagentdvr | Go: Agent (v6.8.4.0) ispyagentdvr | Go: Starting... ispyagentdvr | Go: Detected: Linux64(in docker) ispyagentdvr | Go: Creating temp path for opencv in /tmp/ ispyagentdvr | Go: Get com port list ispyagentdvr | Go: Drive space not available in Docker ispyagentdvr | Conf: Check /AgentDVR/Media/WebServerRoot/Media/ ispyagentdvr | Conf: We STRONGLY recommend setting at least a 100 port range in server settings - local server - turn server min/ max port. Currently you only have 10 TURN ports available. ispyagentdvr | StartUp: Computer Name: #CONFIDENTIAL ispyagentdvr | StartUp: Init FFmpeg ispyagentdvr | TryLoad: /AgentDVR/ffmpeg7/lib not found ispyagentdvr | TryLoad: /AgentDVR/ffmpeg-v7/workspace/lib not found ispyagentdvr | TryLoad: Checking for libavcodec.so.61 in /usr/local/lib ispyagentdvr | TryLoad: Checking for libavcodec.so.61 in /usr/lib/x86_64-linux-gnu ispyagentdvr | TryLoadBinaries: Looking for ffmpeg in /usr/lib/x86_64-linux-gnu ispyagentdvr | TryLoad: Found FFmpeg7 in /usr/lib/x86_64-linux-gnu ispyagentdvr | Init: ffmpeg path: /usr/lib/x86_64-linux-gnu ispyagentdvr | Init: Initializing devices ispyagentdvr | Init: Preloading Images ispyagentdvr | LoadVideoDevices: Found 0 video devices ispyagentdvr | StartUp: Init Languages ispyagentdvr | StartUp: Init SDL ispyagentdvr | CreateAsync: Checking database integrity... ispyagentdvr | CreateAsync: Database connection is healthy. ispyagentdvr | CreateAsync: Initializing tables... ispyagentdvr | InitializeTables: Reclaiming space in database ispyagentdvr | InitialiseTURNServer: Starting TURN server at #CONFIDENTIAL ispyagentdvr | InitServer: Access locally at http://localhost:8090/ ispyagentdvr | StartUp: LogLevel: Warning ispyagentdvr | StartAsync: Starting Connection Monitor ispyagentdvr | Initialize_OnInitialized: Running at http://localhost:8090/ ```
Author
Owner

@cyril59310 commented on GitHub (Nov 10, 2025):

In your compose file, use:

    deploy:
      resources:
        limits:
          memory: 512m
          cpus: "4"
Image

This will limit the CPU and memory resources of your container
Image

@cyril59310 commented on GitHub (Nov 10, 2025): In your compose file, use: ``` deploy: resources: limits: memory: 512m cpus: "4" ``` <img width="564" height="265" alt="Image" src="https://github.com/user-attachments/assets/0e7a9a8f-9fd5-4660-815c-38dc4a5bdad3" /> This will limit the CPU and memory resources of your container <img width="1102" height="299" alt="Image" src="https://github.com/user-attachments/assets/18800fa7-da4a-451a-ac27-e94678e24da7" />
Author
Owner

@wolfgangquatz commented on GitHub (Nov 10, 2025):

In your compose file, use:

    deploy:
      resources:
        limits:
          memory: 512m
          cpus: "4"
Image This will limit the CPU and memory resources of your container Image

Unfortunaly not work. It not apply the limits.

@wolfgangquatz commented on GitHub (Nov 10, 2025): > In your compose file, use: > > ``` > deploy: > resources: > limits: > memory: 512m > cpus: "4" > ``` > > <img alt="Image" width="564" height="265" src="https://private-user-images.githubusercontent.com/70776486/512311267-0e7a9a8f-9fd5-4660-815c-38dc4a5bdad3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjI4MDAzNTIsIm5iZiI6MTc2MjgwMDA1MiwicGF0aCI6Ii83MDc3NjQ4Ni81MTIzMTEyNjctMGU3YTlhOGYtOWZkNS00NjYwLTgxNWMtMzhkYzRhNWJkYWQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTEwVDE4NDA1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5ZTk5YjMwYWJkYmYzYjBmOTNkMTM4ODk5ZjMyMjFiZWQ1ZmZhYmI5Y2Q1ZmUyY2NjM2FiNjU4M2QwNzY0ZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VEvwxGD6B5xXnTskM0PzPDhTmSl_3lGv_BOJE1G8zZA"> > This will limit the CPU and memory resources of your container <img alt="Image" width="1102" height="299" src="https://private-user-images.githubusercontent.com/70776486/512312421-18800fa7-da4a-451a-ac27-e94678e24da7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjI4MDAzNTIsIm5iZiI6MTc2MjgwMDA1MiwicGF0aCI6Ii83MDc3NjQ4Ni81MTIzMTI0MjEtMTg4MDBmYTctZGE0YS00NTFhLWFjMjctZTk0Njc4ZTI0ZGE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTEwVDE4NDA1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAyZmEyYjA2Yjg1YzE4NzA0NGVhNTZjZWJjODQ5ZjUxNWRiOTc4YmZmODNlYmM2ZTQxYjU3MjExMTRkYzhkZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4jGGW13rMKcpTGp2_Gdrtakp-J_7iw6mkwrEo2rb6ec"> Unfortunaly not work. It not apply the limits.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dockge-louislam#234
No description provided.