Access to docker engine from within a step?

I’m using Dockertest to provision infrastructure to run my tests on my local machine. Now I would like to do the same when testing inside drone pipeline.

Is it possible to integrate dockertest with drone?

My current configuration that fails (because there is no docker available inside):

  - name: test
    image: golang:1.17-alpine
    when:
      event:
        - pull_request
    environment:
      GO111MODULE: "on"
      CGO_ENABLED: "0"
      GOOS: linux
      GOARCH: amd64
    commands:
      - go test ./...