8

When I run:

$ docker -v

the output is:

Docker version 18.06.1-ce, build e68fc7a

What version they mean when the write

If you use Docker 1.13 or higher, use --cpus instead.

Asking because the difference between 18 and 1 is too big to me. Can the docu be so old? Or do the docker versions increase so fast?

ka3ak
  • 2,435
  • 2
  • 30
  • 57
  • it's something like this, they have upgraded their versions quickly ! v17.12, v17.09, v17.06, v17.03, v1.13, v1.12, v1.11, v1.10, v1.9, v1.8, v1.7, v1.6, v1.5, v1.4 .... – Saad Sep 12 '18 at 08:44

1 Answers1

11

docker -v only shows the client version. docker version will show both client and server version. 1.13 wasn't that long ago, docker just decided to jump their version numbers rapidly.

danblack
  • 12,130
  • 2
  • 22
  • 41