Skip to content

Commit

Permalink
Fix checking if docker is running (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
rluvaton authored and Vadim Demedes committed Apr 15, 2019
1 parent 90e2e92 commit 4845c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/is-docker-running.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const execa = require('execa');

module.exports = () => {
return execa('docker', ['version'])
return execa('docker', ['-v'])
.then(() => true)
.catch(() => false);
};

0 comments on commit 4845c9c

Please sign in to comment.