Run gdal2mbtiles in Docker.
The Docker image can be found at DockerHub.
For instructions how to use gdal2mbtiles run:
docker run --rm joeakeem/gdal2mbtiles --help
E.g. to convert the file hillshade.tif
in the current working directy into a hillshade.mbtiles
that
includes zoom levels 8 to 16 and doesn't fill missing areas with empty tiles you could run
docker run --rm -v $(pwd):/data/ joeakeem/gdal2mbtiles --name hillshade --min-resolution 8 --max-resolution 16 --no-fill-borders /data/hillshade.tif /data/hillshade.mbtiles