Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers base implementation #10

Merged
merged 6 commits into from
Mar 27, 2019
Merged

drivers base implementation #10

merged 6 commits into from
Mar 27, 2019

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.

None yet

3 participants