Skip to content

Commit

Permalink
Use Docker client for driver instead of exec (cnabio#185)
Browse files Browse the repository at this point in the history
* Initial Docker client for driver

* Update to use HOME dir, docker attach

* Lint fix

* Update contaienr attach handling

* Added docker socket

* Updated to use Docker's CopyToContainer

* Lint fixes

* Hardcoded isTerm to false, refactored tar build

* Updated docker client creation

* Removed commented import

* Formatting fix

Co-authored-by: Jeremy Rickard <[email protected]>
  • Loading branch information
2 people authored and simongdavies committed Jul 18, 2019
1 parent 1b673eb commit 6d5033c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"fmt"
"io"
"strings"
)

// ImageType constants provide some of the image types supported
Expand Down Expand Up @@ -106,7 +105,3 @@ func (d *DebugDriver) Config() map[string]string {
func (d *DebugDriver) SetConfig(settings map[string]string) {
d.config = settings
}

func isTrue(val string) bool {
return strings.ToLower(val) == "true"
}

0 comments on commit 6d5033c

Please sign in to comment.