Please, share your Dockerfile. Users will probably not like to search for relevant parts in the video. Share it es a code block here. Help for code blocks
But based on the error message, you probably defined the command as an invalid json list without quotation marks.
Correct
CMD ["/bin/sh", "other arg"]
Incorrect:
CMD [/bin/sh, other arg]
This is a string and it will look for the executable called “[/bin/sh,” instead of “/bin/sh”
But since you created an empty entrypoint, the command will do nothing. As the CMD is the argument of the entrypoint and the entrypoint script has to execute it.
Recommended links to learn the basics and concepts:
- General “self-paced” training about containers: Introduction to Containers
- My tutorials: Welcome to Learn Docker’s documentation! — Learn Docker documentation
- What is a container (docker docs): What is a container? | Docker Docs