Sha256: f4c38637e29f21865ba29826a3c7c28bbe922616cfd7cceac3f9eb19bd4ef193

Contents?: true

Size: 479 Bytes

Versions: 101

Compression:

Stored size: 479 Bytes

Contents

#!/bin/sh

command -v docker > /dev/null 2>&1 || {
  echo "Unable to find \`docker' on your \$PATH, is it installed?" >&2
  exit 1
}

docker version | grep -q "Server version\|Server:" || {
  echo "Unable to run \`docker version', the docker daemon may not be running" >&2

  if [ "$(id --user)" -eq 0 ]; then
    echo "Please ensure \`sudo docker version' succeeds and try again" >&2
  else
    echo "Please ensure \`docker version' succeeds and try again" >&2
  fi

  exit 1
}

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
codeclimate-0.85.27 bin/check
codeclimate-0.85.26 bin/check
codeclimate-0.85.25 bin/check
codeclimate-0.85.24 bin/check
codeclimate-fede-0.85.54 bin/check
codeclimate-fede-0.85.53 bin/check
codeclimate-fede-0.85.52 bin/check
codeclimate-fede-0.85.51 bin/check
codeclimate-fede-0.85.50 bin/check
codeclimate-fede-0.85.49 bin/check
codeclimate-fede-0.85.48 bin/check
codeclimate-fede-0.85.47 bin/check
codeclimate-fede-0.85.46 bin/check
codeclimate-fede-0.85.45 bin/check
codeclimate-fede-0.85.44 bin/check
codeclimate-fede-0.85.43 bin/check
codeclimate-fede-0.85.42 bin/check
codeclimate-fede-0.85.41 bin/check
codeclimate-fede-0.85.40 bin/check
codeclimate-fede-0.85.39 bin/check