LoginSignup
3
3

More than 5 years have passed since last update.

DockerAPIでのLXCの設定について

Last updated at Posted at 2014-02-17

Docker API経由でLXCの設定をしようとしたがどうもうまくいかない。
この問題について調査していると、下記ページにて解決方法が述べられていた。

API inconsistencies - Docker Los Angeles (Santa Monica, CA) - Meetup

つまり、公式ドキュメント によるとLXCの設定は下記のとおりであるが、

{
  "LxcConf": {"lxc.utsname": "docker"}
}

実際は次のように指定しなければならない。

{
  "LxcConf": [{
    "Key": "lxc.utsname",
    "Value": "docker"
  }]
}
3
3
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
3
3