docker buildbuilds a new image from the source code.docker createcreates a writeable container from the image and prepares it for running.docker runcreates the container (same asdocker create) and runs it.
docker build builds a new image from the source code.docker create creates a writeable container from the image and prepares it for running.docker run creates the container (same as docker create) and runs it.