タイトルの通り、Dockerコンテナに割り当てられるIPアドレスのアドレス帯を変更します。 なぜ? デフォルトでは 172.17.0.0/16 が使われていますが、何らかの理由でこれを変更したい場合があります。 私の場合は、このアドレス帯がDockerホスト自身が所属するネットワークのアドレス帯とかぶってしまったためでした。 環境 かなり古い環境を使っています。 CentOS release 6.6 (Kernel 2.6.32) Docker version 1.7.1, build 786b29d/1.7.1 参考にした資料 Docker公式ドキュメントにも、変更の方法が記載されています。 Customize the docker0 bridge ※ 今回はこの手順だけではうまくいかなかったので、追加で行ったことも記載します。 手順 /etc/sysconfig/dockerの変更 C