Build an Image
PUT/docker-svc/image
Builds a Docker image with the specified parameters.
Requires the docker-svc:image:build
permission.
Request
- application/json
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
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...