LoginSignup
1
0

More than 5 years have passed since last update.

Ubuntuのバージョンを18.04にしたらdockerコマンドが通らなくなった話

Last updated at Posted at 2018-11-08

個人のメモ書きです。ドのつく初心者なので変なところがあったらご指摘願います。

Ubuntuのバージョンを18.04にしたらdockerコマンドが通らなくなった

会社のPCをUbuntu18.04にしたらproxyの設定云々でdockerコマンドが通らなくなった。

/ets/systemed/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://example%40hoge.com:${HTTP_PROXY_PASS}@proxysrv:port/"

HTTP_PROXY_USERにメールアドレスを使用(example%40hoge.com)しています。

理由はわからないですがURLエンコードの必要がなくなったのか、HTTP_PROXY_USERの設定部分=example%40hoge.comexample@hoge.comにすることで解決。

/ets/systemed/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://example@hoge.com:${HTTP_PROXY_PASS}@proxysrv:port/"
1
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
1
0