LoginSignup
7
6

More than 5 years have passed since last update.

【Docker】RancherOSでnameserverのipを変更するメモ

Posted at

rancherとは

経緯

  • だいぶ昔にはまったのですが、同じ方がいらっしゃったので共有します

resolv.confじゃ反映されませんでした

$ sudo ros config get rancher.network
$ sudo ros config set rancher.network.dns.nameservers "['192.168.x.x']"

networkを再起動します

$ sudo system-docker ps
$ sudo system-docker restart network 

余談

  • sudo system-dockerでいろいろ再起動できます
7
6
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
7
6