Work around https://github.com/docker/docker/issues/6345