| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| context | string | Optional | - | - | |
| dockerfile | string | Optional | - | - | |
| forcerm | boolean | Optional | - | - | |
| nocache | boolean | Optional | - | - | |
| remote | string | Optional | - | - | |
| rm | boolean | Optional | - | - |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.
CreatePOST: /v1/dockerBuilds
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"context": "string",
"dockerfile": "string",
"forcerm": false,
"nocache": false,
"remote": "string",
"rm": false
}' 'http://${RANCHER_URL}:8080/v1/dockerBuilds'