Use this container:
https://cloud.docker.com/u/garysieling/repository/docker/garysieling/exiv2
Example run:
docker run -v $(pwd)/:/images --rm -it garysieling/exiv2 /exiv2/build/bin/exiv2 /images/image.jpg
Example output:
File name : /images/image.jpg File size : 3874537 Bytes MIME type : image/jpeg Image size : 3024 x 4032 Camera make : Google Camera model : Pixel 2 Image timestamp : 2019:07:28 10:41:04 Image number : Exposure time : 0.007993 s Aperture : F1.8 Exposure bias : 0 EV Flash : No, compulsory Flash bias : Focal length : 4.4 mm (35 mm equivalent: 27.0 mm) Subject distance: 0.50 m ISO speed : 89 Exposure mode : Auto Metering mode : Center weighted average Macro mode : Image quality : Exif Resolution : 3024 x 4032 White balance : Auto Thumbnail : image/jpeg, 8098 Bytes Copyright : Exif comment :