0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

プロキシのある環境でDockerを動かす方法

Posted at

記入すべきは
/etc/systemd/system/docker.service.d/http-proxy.conf
※ override.conf じゃダメみたいです。

内容

[Service]
Environment="HTTP_PROXY=http://proxy.hogehoge.co.jp:8080"
Environment="HTTPS_PROXY=http://proxy.hogehoge.co.jp:8080"
Environment="NO_PROXY=localhost,127.0.0.1,<自分のipとか、内部で立ち上げてるサーバーとか>"

参考→ https://docs.docker.jp/config/daemon/systemd.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?