How Do I Use Docker to Start an Image Saved Using a Notebook Instance?
An image saved using a notebook instance contains the Entrypoint parameter, as shown in Entrypoint. The executable file or command specified in the Entrypoint parameter overwrites the default boot command of the image. The command input in the Entrypoint parameter is not preset in the image. When you run docker run in the local environment to start the image, an error message is displayed, indicating that the container creation task fails because the boot file or directory is not found, as shown in Figure 2.
To avoid this error, configure the --entrypoint parameter to overwrite the program specified in Entrypoint. Use the boot file or command specified by the --entrypoint parameter to start the image. Example:
docker run -it -d --entrypoint /bin/bash image:tag
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot