Giter Club home page Giter Club logo

Comments (5)

lightsofapollo avatar lightsofapollo commented on June 27, 2024

Requires vagrant 1.4x but it makes things easier... I am noticing that the tests expect at least one image to be downloaded prior to having the tests run... This is a simple fix with the bash setup but is cleaner under the new vagrant docker provisioner.

from dockerode.

apocas avatar apocas commented on June 27, 2024

This Vagrantfile is a stripped down version from https://github.com/dotcloud/docker/blob/master/Vagrantfile it was a quick hack at the time.

Will look into that.

Regarding the download, Docker will pull the image during the tests. The issue is that you need to specify an existing container id in order to test container manipulation. (this should be fixed, this container should be created dynamically in the tests)

Issue: https://github.com/apocas/dockerode/blob/master/test/container.js#L4

from dockerode.

lightsofapollo avatar lightsofapollo commented on June 27, 2024

right! I noticed this after the fact... Are you open to creating the image dynamically? I can submit a quick fix.

from dockerode.

apocas avatar apocas commented on June 27, 2024

Sure, go ahead!

from dockerode.

apocas avatar apocas commented on June 27, 2024

Vagrantfile was so simplified few releases ago, that now it's practically just a simple bash script to install a few packages.

For now let's leave it this way, since it does rely much on Vagrant I hope it will endurance breaking change and what not in Vagrant future versions.
( This is what I hope at least, since I don't want to waste time on this :) )

from dockerode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.