#### What is the problem you are having with rclone? Files created with the wrong mime types (`application/octet-stream`). When I mounted the `/etc/mime.types` file from the host to the Docker container, files got uploaded with the correct mime types. It'd be great of the rclone Docker image includes the `/etc/mime.types`. #### What is your rclone version (output from `rclone version`) ``` rclone v1.59.1 - os/version: alpine 3.16.1 (64 bit) - os/kernel: 5.10.0-16-cloud-amd64 (x86_64) - os/type: linux - os/arch: amd64 - go/version: go1.19 - go/linking: static - go/tags: none ``` Docker image: `rclone/rclone:1.59.1` #### Which OS you are using and how many bits (e.g. Windows 7, 64 bit) Debian 11.4 host. #### Which cloud storage system are you using? (e.g. Google Drive) Oracle (OCI) object storage (S3-compatible). #### The command you were trying to run (e.g. `rclone copy /tmp remote:tmp`) `rclone mount` #### How to use GitHub * Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue. * Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue. * Subscribe to receive notifications on status change and new comments.
Activity
ncw commentedon Sep 6, 2022
This should be an easy fix to install the correct apk here
rclone/Dockerfile
Line 14 in bd787e8
I think the right package is mailcap
Want to have a go @akhayyat ?
I don't want the docker image to get huge, but that package looks like it is only 84k
ncw commentedon Sep 30, 2026
I've merged @hsdfat fix for this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.74.2
docker: fix files uploaded with the wrong mime type - fixes rclone#6384
docker: fix files uploaded with the wrong mime type - fixes rclone#6384
docker: fix files uploaded with the wrong mime type - fixes #6384