Comments (5)
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.
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.
right! I noticed this after the fact... Are you open to creating the image dynamically? I can submit a quick fix.
from dockerode.
Sure, go ahead!
from dockerode.
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)
- Mounting container on directory HOT 1
- Sending stdin on container HOT 3
- dockerode.getConfig().remove() HOT 1
- containerAttach is sending parameter as POST JSON payload while it shouldn't HOT 1
- Pushing an image to private registry with auth not working HOT 1
- Error while installing with pnpm
- ContainerStartOptions does not contain abortSignal property HOT 1
- Missing Changelog HOT 5
- Specifying socketPath but Dockerode is using HTTP. (bun.js) HOT 13
- Image name when we use buildImage doesn't work HOT 1
- Changelog HOT 4
- Undocumented breaking change: container.logs now produces a string HOT 8
- Error building image
- Error to get logs on some containers HOT 1
- Passing filter options to pruneImages HOT 1
- Module parse failed: Unexpected character '�' (1:0) HOT 1
- Restore exec stream
- Source directory and Dockerfile in different locations HOT 2
- Clone a container HOT 1
- unable to handle ssh network errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerode.