Build and run the image resizer Build the image docker build --progress=plain -t image-resizer . Run the image with the following command docker run --rm -v $(pwd)/outfiles:/outfiles image-resizer