Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Aug 22, 2024
1 parent 67f83c9 commit 280469b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration-tests/pkg/executor/executor_docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ func newDockerExecutor() (*dockerExecutor, error) {
// use the docker client, but may connect to the podman API.
// It is entirely heuristics based and not as reliable as we'd like
// it to be, but it should get the job done.
_, err := exec.Exec(RuntimeCommand, "info", "--format='{{.Host}}'")
out, err := exec.Exec(RuntimeCommand, "info", "--format='{{. | printf \"%+v\"}}'")
fmt.Printf("info output: %s\n", out)
out, err = exec.Exec(RuntimeCommand, "version", "--format='{{.Server | printf \"%+v\"}}'")
fmt.Printf("version output: %s\n", out)
exec.engine = "podman"
if err != nil {
fmt.Printf("Container engine check for podman failed: %s\n", err)
Expand Down

0 comments on commit 280469b

Please sign in to comment.