Custom image specifications - Amazon SageMaker AI (original) (raw)

The image that you specify in your Dockerfile must match the specifications in the following sections to create the image successfully.

Topics

Running the image

The following configurations can be made by updating your ContainerConfig. For an example, see Update container configuration.

Specifications for the user and file system

cat /opt/ml/metadata/resource-metadata.json  

Health check and URL for applications

The health check and URL depend on the applications. Choose the following link associated with the application you are building the image for.

Dockerfile samples

For Dockerfile samples that meet both the requirements on this page and your specific application needs, navigate to the sample Dockerfiles in the respective application's section. The following options include Amazon SageMaker Studio applications.

Note

If you are bringing your own image to SageMaker Unified Studio, you will need to follow the Dockerfile specifications in the Amazon SageMaker Unified Studio User Guide.

Dockerfile examples for SageMaker Unified Studio can be found in Dockerfile example in the Amazon SageMaker Unified Studio User Guide.