UbuntuでIPを変更したのに反映されない問題の対処法

環境

Ubuntu 16.04.3 LTS

概要

/etc/network/interfaces

でネットワークの設定を行ってIPアドレス10.0.0.1で稼働させた後、
10.0.0.2IPアドレスを変更したがIPが変わらなかった。
設定を変更してnetworkingデーモンを再起動してもIPアドレスが変わらなかった。

ifdown eth1 && ifup eth1

systemctl restart networking

をやってみてもダメ

対処法

ip addr flush dev eth1

を実行後、

systemctl restart networking

としたところ無事変わった。

Docker CEパッケージ置き場メモ

Docker Engine

Docker CE以前のバージョン
今後はメンテナンスされないので注意

参考

http://kenoha.hatenablog.com/entry/2017/03/31/114418
docker-engineは昔の呼称

https://blog.docker.com/2017/03/docker-enterprise-edition/
engineからceにアップデート可能

docker-engineパッケージは現時点(2017/5/31)では
まだ提供されていますが、将来的にはdocker-ceまたはdocker-eeパッケージに
まとめられるはずなのでいつまでも利用できるわけではない点に注意してください。

http://qiita.com/RyoMa_0923/items/16f51f7fee02e82f9109 より引用

Linuxコマンドとパッケージ名対応表

概要

Dockerイメージなどミニマルな環境だといつものコマンドが使えないときがある。
イメージ容量を考えると不要なパッケージが入っていないほうが良いのだが困るときもある。
そんなとき用のメモ

対応表

コマンド パッケージ名(CentOS) パッケージ名(Ubuntu)
ps procps
ping iputils iputils-ping
ip iproute iproute
ss iproute iproute
ifconfig net-tools net-tools
arp net-tools net-tools
netstat net-tools net-tools
route net-tools net-tools
traceroute traceroute inetutils-traceroute
dig bind-utils dnsutils
nslookup bind-utils dnsutils
vconfig vconfig vlan
brctl brigde-utils brigde-utils