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

Open
#3,650 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.