1
1

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 で 「Couldn't read ca cert The filename, directory name, or volume label syntax is incorrect.」っていわれたら

Posted at

:black_small_square: 現象

windows で

docker run hello-world

をした際に下記のメッセージが表示された。

Couldn't read ca cert The filename, directory name, or volume label syntax is incorrect.

:black_small_square: 対処法

実は
boot2docker up
時に下記のメッセージが表示されています。

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://xxx.xxx.xx.xxx:xxxx
    export DOCKER_CERT_PATH=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    export DOCKER_TLS_VERIFY=1

っていわれているからそのとおりやりましょう

export DOCKER_HOST=tcp://xxx.xxx.xx.xxx:xxxx
export DOCKER_CERT_PATH=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export DOCKER_TLS_VERIFY=1
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?