Module Docker::Base
In: lib/docker/base.rb

This class is a base class for Docker Container and Image. It is implementing accessor methods for the models attributes.

Methods

Included Modules

Docker::Error

Attributes

connection  [RW] 
id  [R] 
info  [RW] 

Public Class methods

The private new method accepts a connection and a hash of options that must include an id.

Public Instance methods

The docker-api will some time return "ID" other times it will return "Id" and other times it will return "id". This method normalize it to "id" The volumes endpoint returns Name instead of ID, added in the normalize function

[Validate]