aws / aws/amazon-sagemaker-examples
ClientError: Artifact upload failed:API error (400): OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "train": executable file not found in $PATH: unknown
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
Hi All,
I am trying to execute the train script with custom docker image on sagemaker notebook instance. However I am getting the below error
ClientError: Artifact upload failed:API error (400): OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "train": executable file not found in $PATH: unknown
Please anyone help me to resolve this.
I have already added
ENV PATH="/opt/program/betageofitter:${PATH}"
RUN chmod +x /opt/program/betageofitter/train
RUN chmod +x /opt/program/betageofitter/serve
Still I am getting the same error.
Contributor guide
Research direction
The issue does not name a repository file, test, or example entry point. Start by reproducing the custom Docker image upload from a SageMaker notebook instance and inspect why the train executable is not found through PATH. Done means the artifact upload starts successfully without the OCI runtime error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100