Skip to content

drivers base implementation#10

Merged
tonistiigi merged 6 commits intomasterfrom
drivers-init
Mar 27, 2019
Merged

drivers base implementation#10
tonistiigi merged 6 commits intomasterfrom
drivers-init

Conversation

@tonistiigi
Copy link
Member

Starting to implement docker driver

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi
Copy link
Member Author

This is ready now. PTAL @tiborvass @AkihiroSuda

Meta map[string]interface{}
}

var drivers map[string]Factory
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var drivers = map[string]Factory{}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a nil check on line 34

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hence my suggestion, so you can get rid of that :)

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>

conn = demuxConn(conn)

return client.New(ctx, "", client.WithDialer(func(string, time.Duration) (net.Conn, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, why not use docker://... address?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants