具体异常
服务器内部异常:
time=“2023-12-25T23:20:40+08:00” level=warning msg=“The “CONTAINER_NAME” variable is not set. Defaulting to a blank string.” time=“2023-12-25T23:20:40+08:00” level=warning msg=“The “CPUS” variable is not set. Defaulting to a blank string.” time=“2023-12-25T23:20:40+08:00” level=warning msg=“The “MEMORY_LIMIT” variable is not set. Defaulting to a blank string.” 1 error(s) decoding: * error decoding ‘deploy.resources.limits. memory’: invalid size: ‘’
问题在于docker-compose文件中内存和CPU限制的问题