Skip to content

Docker image: /etc/mime.types is missing #6384

Closed

Description

@akhayyat

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 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

  1. ncw commented on Sep 6, 2022

    @ncw
    Member

    This should be an easy fix to install the correct apk here

    RUN apk --no-cache add ca-certificates fuse tzdata && \

    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

  2. ncw commented on Sep 30, 2026

    @ncw
    Member

    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

  3. added a commit that references this issue on Sep 30, 2026
    3cdf855
  4. added a commit that references this issue on Oct 6, 2026
    1f49218
  5. added a commit that references this issue on Oct 8, 2026
    19bf14a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions