Comments (5)
There is not support for this, but I think it's a great idea and I'll keep it in mind for a future release. There are a couple of problems in the way right now:
- blockade doesn't support stopping/starting containers in a deployment, only interfering with. I'm hoping to get this into the next release soon.
- the blockade config language is pretty simple, so you'd have to lay out each of your hundreds of containers individually in the config. Ideally there'd be an easy way to say "launch 200 of these"
from blockade.
Thanks, David! I look forward to the day you bring out these features.
from blockade.
The latest version,The two idea can be fulfilled?
from blockade.
The latest version helps with this, but randomly starting/stopping containers is not supported. However I think you could now accomplish your goal with a little scripting around blockade. There are now start and stop commands (http://blockade.readthedocs.org/en/latest/commands.html#start), and also a count parameter to launch many copies of a container (http://blockade.readthedocs.org/en/latest/config.html#count). So you could write a script that launches a blockade, then uses whatever logic you want to select containers to start/stop.
I could also see it as a feature in blockade itself, but it's not something I need at this time, so would have to come from an outside contribution.
from blockade.
Another user contributed the ability to randomly start/stop containers. It will be present in the imminent 0.3.0 release. Does this address your needs?
from blockade.
Related Issues (20)
- Use external UDN docker network HOT 1
- Improve logging
- Connection timeout
- Handle more than one connection at a time HOT 1
- multiple ports and networks in blockade.yml HOT 1
- UDP port expose support
- What would it take to add support for Docker Swarm please? HOT 1
- Networking with blockade - restrict communication HOT 4
- Is it possible to assign static IP address to the containers? HOT 1
- Is it possible to add a running container to blockade? HOT 1
- Blockade REST API Setup Parameters HOT 1
- net-tools is now a hard dependency HOT 2
- Error: a blockade already exists in here - you may want..
- How to use blockade API inside container HOT 1
- Support environment variables in volume names HOT 2
- Chaining of Commands e.g. flaky + slow HOT 5
- Blockade install via pip broken for mac users HOT 2
- A few questions...
- Proposing a PR to fix a few small typos
- Blockade unable to start after image re-build 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 blockade.