发布网友 发布时间:2022-04-22 00:35
共1个回答
热心网友 时间:2023-07-05 05:14
docker run 命令可以对cpu和内存*,目前没有直接对磁盘*
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] Run a command in a new container -c, --cpu-shares=0 CPU shares (relative weight) -m, --memory="" Memory limit (format: <number><optional unit>, where unit = b, k, m or g)