Comment on this Gist with any present or potential concerns regarding the design and use of libswarm.
Created
June 24, 2014 18:33
-
-
Save aanand/fb1fb3ea406d8e37accf to your computer and use it in GitHub Desktop.
Unexplored libswarm topics
How to expose actions that are specific to a service. For example, Docker containers can be paused/unpaused.
- call Spawn on a container where the first argument is "pause"
- call Set with a payload containing something like "paused: true"
- add two new verbs to libswarm
Enabling/initiating direct communication between two remote libswarm services. For example, linking two Docker containers, possibly across hosts.
To me, this would seem to call for a global addressability - URL-style - of libswarm services (within a network). Perhaps I send a message to one container telling it to "link" to swarm://other.service.hostname/path/to/container
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to pass configuration to a call like Attach. When attaching to a Docker container, various options can be passed:
stdin
,stdout
,stderr
,logs
,stream
. How would this be done?("--stdout", "1")
){"stdout": true}
)