Simple REST api for creating/inspecting/removing services under SWARM mode
2.7K
Manage services on remote Swarm mode cluster using simple API.
Why:
docker run -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc ngparty/imperial-executor
curl -X POST -H "Content-Type: application/json" -d '{"imageName": "nginx", "servicePort": 80}' "http://localhost:8080/services"
curl "http://localhost:8080/services/${SERVICE_ID}"
curl -X DELETE "http://localhost:8080/services/${SERVICE_ID}"
Content type
Image
Digest
Size
278.7 MB
Last updated
about 10 years ago
docker pull ngparty/imperial-executor