general
How To Build Docker Image With Name
How To Build Docker Image With Name. (note the dot at the end of the command.) this should build successfully, so you’ll see: Build docker image in kubernetes using kaniko.

It will list the running docker. Save it with ctrl+exit then y. The most common scenario when creating docker images is to pull an existing image from a registry (usually from docker hub) and specify the changes you want to make on the base image.