By bind-mounting the Docker socket into a container, write a Dockerfile which runs Powerstrip and a Powerstrip adapter and tests that using this, you can still run docker CLI commands normally.
In particular, we are interested in testing commands attach and pull, which do funky stuff with the HTTP stream, the implementation of which is not otherwise well covered by tests.
In particular, need to have an acceptance test for e.g. skipping post hooks in a pull command (where JSON blobs are streamed via, we think, Transfer-encoding: chunked).
By bind-mounting the Docker socket into a container, write a Dockerfile which runs Powerstrip and a Powerstrip adapter and tests that using this, you can still run docker CLI commands normally.
In particular, we are interested in testing commands attach and pull, which do funky stuff with the HTTP stream, the implementation of which is not otherwise well covered by tests.