docker run --rm -v $PWD:/something some-image-with-curl curl -o /something/destination http://example.com/something