Skip to main content

Build an Image

PUT 

/docker-svc/image

Builds a Docker image with the specified parameters.

Requires the docker-svc:image:build permission.

Request

Body

required

Build Image Request

    contextPath stringrequired

    ContextPath is the local path to the build context

    dockerfilePath string

    DockerfilePath is the local path to the Dockerfile

    name stringrequired

    Name is the name of the image to build

Responses

OK

Schema

    object

Loading...