7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?