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 1 year has passed since last update.

Windows ServerでDockerのexperimentalオプションを有効にする

Posted at

手順

1. Dockerを一旦停止する

Powershellで以下のコマンドを実行

Stop-Service docker

2. daemon.jsonを変更

ファイルパスはC:\ProgramData\docker\config\daemon.jsonのはず。
"experimental": true を追加する。

{
    "experimental": true,
    "hosts":  [
                  "npipe://"
              ]
    ...
}

3. Docker再起動

Start-Service docker

4. 設定が変更されたことを確認

docker version

結果

Client:
 Version:           xx.x.x
 API version:       x.xx
 Go version:        gox.xx.x
 Git commit:        xxxxxxx
 Built:             xxxxxxxxxxxxx
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          xx.x.x
  API version:      x.xx (minimum version x.xx)
  Go version:       gox.xx.x
  Git commit:       xxxxxxxx
  Built:            xxxxxxxxxxxxxxxxx
  OS/Arch:          windows/amd64
  Experimental:     true

Experimental=trueになった!

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?