Let's say that I have a git repo which contains my new files and docker files (and others) from other git repo.
I want to clone this repo to my own local machine, and then I want to build this repo with docker. So I'll execute
docker build -t name:v1 cloned-folder/ But, after that, when I type docker images I get two images: name:v1 and image from the repo.
I want only have my image. How to do that without uploading to docker.hub?
Or maybe there is an option to run new container from cloned files without build?