|
I would like a perl script that does the following: - Determines what version of docker server is running, and prints out 'DOCKERV#', depending on what version it is, e.g DOCKERV1 for v1.19, DOCKERV2, for v2.92, etc. The shell command for this prints the following: $ docker version Client: Version: 1.10.3 API version: 1.22 Go version: go1.5.3 Git commit: 20f81dd Built: Thu Mar 10 15:54:52 2016 OS/Arch: linux/amd64 Server: Version: 1.10.3 API version: 1.22 Go version: go1.5.3 Git commit: 20f81dd Built: Thu Mar 10 15:54:52 2016 OS/Arch: linux/amd64 Where do I begin?
|
# ¿ Mar 28, 2016 21:32 |
|
|
# ¿ May 15, 2024 18:25 |