pg_dump in docker: "could not open output file" "protocol error"

Viewed 1376

Starting a docker postgresql container to dump a database using pg_dump to a mounted volume results in:

could not open output file "blah": protocol error

The protocol error is different from the permission denied issue as discussed here for instance. What does this error mean? There is no existing file in the mounted volume.

I'm using docker-machine on OSX.

1 Answers
Related