Docker命令-update 发表于 2022-03-14 分类于 command 命令docker update 描述Update configuration of one or more containers更新容器的配置 用法1docker update [OPTIONS] CONTAINER [CONTAINER...] 选项1234Options: --cpus Number of CPUs --memory , -m Memory limit --restart Restart policy to apply when a container exits 注意无 示例123$ docker run -dit --name test -m 300M ubuntu bash$ docker update -m 500M test$ docker update --restart=on-failure:3 abebf7571666 hopeful_morse