Method: Docker.version
- Defined in:
- lib/docker.rb
.version(connection = self.connection) ⇒ Object
Get the version of Go, Docker, and optionally the Git commit.
106 107 108 |
# File 'lib/docker.rb', line 106 def version(connection = self.connection) Util.parse_json(connection.get('/version')) end |