Skip to content

Instantly share code, notes, and snippets.

View ath88's full-sized avatar

Asbjørn Dyhrberg Thegler ath88

View GitHub Profile
@ath88
ath88 / dockerode-mocha.js
Last active October 9, 2020 12:36
Dockerode and Mocha
const MongoClient = require('mongodb').MongoClient;
const Dockerode = require('dockerode');
const dockerode = new Dockerode();
const assert = require('assert');
let container;
beforeEach(async () => {
container = await dockerode.createContainer({
Image: 'mongo',

Keybase proof

I hereby claim:

  • I am ath88 on github.
  • I am ath88 (https://keybase.io/ath88) on keybase.
  • I have a public key whose fingerprint is 9438 0D0B 11F2 3405 0F8C 454B C6C2 4F17 107C 8EE5

To claim this, I am signing this object: