Comments (6)
@nielinjie @emileae Did you notice we got this thanks to @furstenheim by #124 a while ago?
from docker-compose.
@nielinjie this repository practically wraps calls to docker-compose
binary, and it doesn't support as far as I can tell receiving it's configuration from standard input.
This practically means no, and I doubt it will be supported - it would mean building functionality that does not exist in docker-compose
itself.
EDIT: Nvm, apparently you can pass configuration via stdin, see https://gist.github.com/rmetzler/715cd24ded7438ace962
from docker-compose.
I wonder if this would be possible to implement. @nielinjie would you be willing to send a pull request?
from docker-compose.
I'd be very interested in this enhancement, any tips on where to start?
from docker-compose.
@emileae I believe it would be something like passing a stream as stdin
to spawned process options. You'd probably want to create one such stream from a string and pass into...
Line 76 in 664b8d4
See https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options and https://nodejs.org/api/child_process.html#child_process_options_stdio for available process options.
Haven't tried that though. I haven't worked in node for a while.
from docker-compose.
Really cool, thanks for letting me know!
from docker-compose.
Related Issues (20)
- Error running commands on Electron HOT 1
- Add a way to get progress report
- doubt docker-compose HOT 5
- Cannot create a string longer than 0x1fffffe8 characters HOT 9
- Error running docker-compose HOT 5
- adding a option to set COMPOSE_HTTP_TIMEOUT variable HOT 2
- spawn docker-compose ENOENT on Gitlab CI HOT 1
- rm and stopMany methods have an inconsistent API HOT 10
- How to use npm package docker-compose inside an active container? HOT 5
- ps doesn't output all services -> offset of 1 service HOT 1
- Output ends up in "err" instead of "out" on macos even when exitCode equals 0 HOT 8
- execCompose can throw "RangeError: Invalid string length" HOT 1
- Down options like downOne and downMany HOT 3
- Version 0.24.4 broke packages using that dependency HOT 1
- Support for docker compose watch HOT 3
- integration of list commands HOT 2
- passing env object causes issues HOT 2
- Improve detection if "--detach" should be set HOT 2
- Docker-Compose V2 && ESM + TypeScript HOT 4
- Throws: `Error: spawn docker-compose ENOENT` after updating docker to 4.32.0 HOT 3
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 docker-compose.