Docker Community Forums

Share and learn in the Docker community.

Create a service via the UCP api without docker cli

(Jayhow) #1

Hi I have a situation where the docker client on a build server is too old to support a lot of the UCP options from the docker client command line so I thought I would use the Restful endpoint for doing everything other than build and push to a registry.

We are using UCP 2.2

I have been looking at the API documentation and it appears incomplete,

I would like to create a service via a call to UCP!/Service/ServiceCreate

The documentation linked to above is close to nonsensical.

My question is is there any documentation on how this works for the given version. Ie create service