如何删除Docker代理设置?

时间:2020-09-07 18:06:59

标签: docker docker-build

请告知如何删除Docker代理设置,
我记得我已经将docker设置为最初使用代理,并且从/etc/systemd/system/docker.service.d中删除了文件。

我正在尝试执行以下命令

Upgrade is the first word in this paragraph.
In this paragraph, upgrade is the last word.
And this paragraph ends with upgrade.
But I don't want to find that word in this command `gigalixir:upgrade`.

是否可以使用--build-arg使用no_proxy运行docker命令? 请指教

谢谢

1 个答案:

答案 0 :(得分:0)

您选择了customise docker settings using systemd,这很不错,但是在这种情况下,要更改这些设置,您将始终需要重新启动服务。

根据您的情况,您需要使用其他方法,using environment variables

这将使您的生活更轻松,希望对您有帮助,祝您好运。