Comments (6)
Also it's not clear from docs what should I specify in slave option
You always should specify slave. Cocaine provides some command line arguments to your program (to a framework actually), so it composes command to be run on its own, and the default command is always ignored.
from cocaine-tools.
You always should specify slave. Cocaine provides some command line arguments to your program (to a framework actually), so it composes command to be run on its own, and the default command is always ignored.
@andrusha97 Just for proposal. Maybe it would be better to provide these arguments via env var or in some other way, because current manner breaks docker run as executable manner. I see that docker is not a central point of overall system but maybe it's possible to change behaviour of just docker.io applications?
from cocaine-tools.
To make an application visible in cocaine, manifest should be uploaded. In case of Docker isolation we needn't store the application code. Application name must be the same as image name, and endpoint of Docker registry is specified in profile
. So it seems to be enough to add an abilty to upload only a manifest without image building. @3Hren, What do you thing abiout it?
When it comes to passing arguments by other way. Unfortunately, it's impossible now in the current stable version, as all frameworks parse agrv
to get an application name, uuid, endpoint. It doesn't matter for framework what type of isolation is used to isolate. May be in the next version of cocaine.... Anyway we will think about it. Thanks!
from cocaine-tools.
Looks reasonable for me.
from cocaine-tools.
Thanks for your project! And for neat response! ;)
from cocaine-tools.
Actually, passing the args as environment variables was discussed a couple of times already, and I think it has all the chances to make it into the next release.
from cocaine-tools.
Related Issues (20)
- Zero exit code when trying to upload incorrect profile HOT 2
- Uploading docker app fails if tornado version is 4.0 HOT 5
- Cannot connect to service running on different ip address HOT 5
- Add cocaine-tool profile/runlist/group copy/rename
- Add cocaine-tool locate SERVICE HOT 1
- Remove cocaine-tool call. HOT 1
- View a cluster map from Locator HOT 1
- [Groups] Edit command
- Proper support of chunked transfer encoding HOT 1
- Example of Docker image importing (v 0.11) HOT 6
- Remove all: skip missing crashlog HOT 1
- [Cluster] Support a flag to resolve hostnames from an address HOT 1
- Error in cocaine-tornado-proxy HOT 1
- Cannot run cocaine on a local machine HOT 17
- [Info] Implement streamed cocaine-tool info HOT 1
- Can`t upload program. Cocaine + elliptics HOT 17
- Anyone, please HOT 1
- runlist remove-app broken when removing the last app HOT 1
- Where did `cocaine-tool proxy` command go? HOT 1
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 cocaine-tools.