GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Docker image: /etc/mime.types is missing · Issue #6384 · rclone/rclone

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

New issue
Copy link
New issue
Copy link
Closed
#9977
Closed
Docker image: /etc/mime.types is missing#6384
#9977
Copy link
Labels
buildenhancement

Description

@akhayyat
akhayyat
opened on Aug 18, 2022
Issue body actions

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. animosity022
    added
    enhancement
    on Aug 23, 2022
  2. ncw commented on Sep 6, 2022

    @ncw
    ncw
    on Sep 6, 2022
    Member
    More actions

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

    rclone/Dockerfile

    Line 14 in bd787e8

    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

    Reacted by Alireza Ghasemi
  3. ncw
    added
    build
    on Sep 6, 2022
  4. ncw
    closed this as completedin #9977on Sep 30, 2026
  5. ncw commented on Sep 30, 2026

    @ncw
    ncw
    on Sep 30, 2026
    Member
    More actions

    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

  6. pull
    added a commit that references this issue on Sep 30, 2026

    docker: fix files uploaded with the wrong mime type - fixes rclone#6384

    This issue will close once commit 3cdf855 is merged into the 'master' branch.
    3cdf855
  7. ferferga
    added a commit that references this issue on Oct 6, 2026

    docker: fix files uploaded with the wrong mime type - fixes rclone#6384

    This issue will close once commit 1f49218 is merged into the 'master' branch.
    1f49218
  8. ncw
    added a commit that references this issue on Oct 8, 2026

    docker: fix files uploaded with the wrong mime type - fixes #6384

    This issue will close once commit 19bf14a is merged into the 'master' branch.
    19bf14a
  9. MindThaApp
    added a commit that references this issue on Nov 21, 2026

    docker: fix files uploaded with the wrong mime type - fixes rclone#6384

    This issue will close once commit 4a5ce58 is merged into the 'master' branch.
    4a5ce58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.