如果同时指定了两者,则 --config 选项将覆盖 DOCKER_CONFIG 环境变量。下面的示例使用 ~/testconfigs/ 目录中的 config.json 文件覆盖 ~/testconfigs/ docker ps 命令。
確定! 回上一頁