Use unix 'file' to determine if uploaded file is in for example text format so it can be viewed in the web gui
Upload a Dockerfile, then try to view it. It is a plain text file, but it doesn't display, probably because some kind of file extension list is used for the previewing page rather than something like 'file' in Unix which can say if it is an image or a text file or a json file etc.
3
votes
Roger
shared this idea