It seems pretty easy to build image when I just mount the docker.sock in a container. It's same as what I do on hosts machine. Simply
docker build . -t image/name:sometag.
But when I need to do the same from a pod/container in K3s installation, I don't find a way of doing it. Can someone please guide me to something? It has to happen without mounting docker.sock.