0
0

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.

CoreOSでDockerが動かなくなった。(The program docker is managed by torcx)

Last updated at Posted at 2018-08-27

1. 事象

Docker上で何かを検証する際には、軽量のLinux OSであるCoreOSを使っています。2018年8月27日に、いつも通りの手順で実行してみたところ、dockerが使えなくなっていた。

#git clone https://github.com/coreos/coreos-vagrant/ 
#cd coreos-vagrant
#vagrant up
#vagrant ssh
core-01 core # cat /etc/os-release
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1786.1.0
VERSION_ID=1786.1.0
BUILD_ID=2018-05-24-2149
PRETTY_NAME="Container Linux by CoreOS 1786.1.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

core-01 core # docker
The program docker is managed by torcx, which did not run.

2. 解決策

torcxは、a boot-time addon managerとのことです。下記等、関連する情報があるのですが、解決方法が分からない。
Toward Docker 17.xx in Container Linux | CoreOS
GitHub - coreos/torcx

自分は、結局、config.rb.sampleをconfig.rbにリネームした上で下記のように修正し、vagrant destroy、vagrant upで解決させました。config.rb.sampleはcoreos-vagrantディレクトリ配下にあります。みなさんの参考になれば幸いです。 

# Official CoreOS channel from which updates should be downloaded
#$update_channel='alpha'
$update_channel='stable'

core-01 core # cat /etc/os-release
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1871.0.0
VERSION_ID=1871.0.0
BUILD_ID=2018-08-15-2242
PRETTY_NAME="Container Linux by CoreOS 1871.0.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

core-01 core # docker version
Client:
 Version:           18.06.0-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        0ffa825
 Built:             Wed Jul 18 18:54:54 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.0-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       0ffa825
  Built:            Wed Jul 18 18:54:54 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Running CoreOS Container Linux on Vagrant

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?