I was trying to run a container with kvm, using the code I found here: https://github.com/jessfraz/dockerfiles/tree/master/kvm I created a new directory, cd'd into it and created the dockerfile and start.sh files. When I gave order to build, it outputed the following error message:
Sending build context to Docker daemon 3.584kB Error response from daemon: No build stage in current context
I have no idea what this means and I couldn't google an answer. Any help would be greatly appreciated.
Does your dockerfile have a: FROM repo/image
As the first line? I got this error when I forgot to specify the docker image that I was building from.
Even if you're building a "source image" you still need to specify FROM scratch
as the first line of the dockerfile.