Skip to content

Unhelpful, incorrect error message when docker commands fail #220

Description

@cole-christensen
  • No setup instructions provided for getting started on Linux/Mac/Windows
  • The message says Docker CLI tools aren't installed when they clearly are
  • docker-kitchen isn't correctly detecting and using the installed docker
Coles-MBP-2:chef_repository chaos$ docker --version
Docker version 1.12.0-rc4, build e4a0dbc, experimental

Here I show that I have docker installed correctly, having started an nginx container on the command line, but kitchen still fails

Coles-MBP-2:~ chaos$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
5921d3d77fb2        nginx               "nginx -g 'daemon off"   27 seconds ago      Up 27 seconds       80/tcp, 443/tcp     determined_mestorf
Coles-MBP-2:chef_repository chaos$ kitchen list
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::UserError
>>>>>> Message: You must first install the Docker CLI tool http://www.docker.io/gettingstarted/
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions