Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created October 29, 2014 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehazlett/a920ab278e2272327574 to your computer and use it in GitHub Desktop.
Save ehazlett/a920ab278e2272327574 to your computer and use it in GitHub Desktop.
curl -H 'X-Service-Key: YOUR-SERVICE-KEY' 'http://shipyard-controller/api/engines' -XPOST -d '{"id": "foo", "engine": {"id": "foo", "addr": "http://172.16.1.50:2375", "cpus": 4.0, "memory": 4096, "labels": ["testing"] } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment