1 Answer
- Newest
- Most votes
- Most comments
0
It's not enough to have the AppImageConfig locally and only push the built image to ECR -- you also need to push the AppImageConfig using the following command:
aws sagemaker create-app-image-config \
--cli-input-json file://app-image-config-input.json
And then use that when you're attaching the custom image to the SageMaker domain.
If you're doing that in the Console, then you don't actually use the AppImageConfig file itself -- you just enter the info from it into the create image dialog:
"MountPath": "/root",
"DefaultUid": 0,
"DefaultGid": 0
"Name": "python3",
"DisplayName": "Python [conda env: myenv]"
answered a year ago
Relevant content
- asked a year ago
- Accepted Answerasked 9 months ago
- asked 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago