How to use the @nomiclabs/buidler-docker.BuidlerDocker.isInstalled function in @nomiclabs/buidler-docker

To help you get started, we’ve selected a few @nomiclabs/buidler-docker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nomiclabs / buidler / packages / buidler-vyper / src / compilation.ts View on Github external
async function validateDockerIsInstalled() {
  if (!(await BuidlerDocker.isInstalled())) {
    throw new BuidlerPluginError(
      `Docker Desktop is not installed.
Please install it by following the instructions on https://www.docker.com/get-started`
    );
  }
}

@nomiclabs/buidler-docker

A library to manage Docker from Buidler plugins

MIT
Latest version published 5 years ago

Package Health Score

70 / 100
Full package analysis