Thanks to @kaypee90 for the contribution
Get the image. Run:
docker pull protodb/protofire-solhint:latest
Check if image is present (protodb/protofire-solhint:latest)
docker images
Solhint use:
docker run -v ./:/app -w /app -it protodb/protofire-solhint solhint './contracts/*.sol'
This command:
Executes solhint in ‘./contracts/*.sol’
docker run -v ./:/app -w /app -it protodb/protofire-solhint /bin/sh
This command:
solhint ./contracts/*.sol