Skip to main content

Build Image

POST 

/containers/build_image

Builds a Docker image from a tar file containing the application code.

Args: app_id (str): The ID of the application to build the image for. base_name (str): The base name of the image to build. tar_file (UploadFile): The tar file containing the application code. stoken_session (SessionContainer): The session container for the user making the request.

Returns: Image: The Docker image that was built.

Request

Query Parameters

    app_id App Idrequired
    base_name Base Namerequired

Body

required

    tar_file binaryrequired

Responses

Successful Response

Schema

    type Type (string)
    docker_id Docker Id (string)required
    tags Tags (string)required
    organization_id Organization Id (string)
    workspace_id Workspace Id (string)
Loading...