What is the difference between "docker image build" and "docker build"?

Viewed 459

I am studying Docker now and it seems "docker image build" and "docker build" work in the same way.

  1. Are they totally the same?
  2. Is there a way to check Question 1?
  3. Why are there two identical commands (if they are the same)?
1 Answers

Just to answer the question:

As already mentioned my @larsks and @Zeitounator both commands are doing exactly the same and there is no difference. It's written down in the docker documentation that way, but you can see that docker build and dokcer image build have the same description and the same options to use in their docoumentations.

Related