Skip to main content

docker-mounter

Utility to mount Docker images locally without requiring container creation. This is useful for analysing contents of Docker images from within the host operating system without incurring the overhead of container creation.

This tool relies on some potentially unstable docker implementation details, and may break in future Docker versions!

Compatibility

Due to use of overlay2, tool is only compatible with Linux 3.19+.

It has currently only been tested with Docker version 27.3.1, build ce12230.

Usage

Usage: docker-mount [OPTIONS] IMAGE

╭─ Arguments ─────────────────────────────────────────────────────────╮
│ *    image      TEXT  [default: None] [required]                    │
╰─────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────╮
│ --mount-point                  PATH  [default: None]                │
│ --pull           --no-pull           [default: no-pull]             │
│ --mount          --no-mount          [default: no-mount]            │
│ --help                               Show this message and exit.    │
╰─────────────────────────────────────────────────────────────────────╯

Example Usage

Mount ubuntu:latest image to /mnt/docker-image and pull the image if it is not present

docker-mount --mount --pull --mount-point /mnt/docker-image ubuntu:latest

Mount ubuntu:latest image to /mnt/docker-image and do not pull the image

docker-mount --mount --no-pull --mount-point /mnt/docker-image ubuntu:latest

Generate command to mount ubuntu:latest image to /mnt/docker-image but do not mount or pull the image

docker-mount --mount-point /mnt/docker-image ubuntu:latest

Metadata

Release files for docker-mounter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docker-mounter 0.1.0
File Size Uploaded Provenance Actions
docker_mounter-0.1.0.tar.gz 5.8 kB Without provenance Details for docker_mounter-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docker-mounter 0.1.0
File Interpreter ABI Platform Actions
docker_mounter-0.1.0-py3-none-any.whl Python 3 none any Details for docker_mounter-0.1.0-py3-none-any.whl

Total release size: 12.3 kB

Release files / docker_mounter-0.1.0.tar.gz

Download URL docker_mounter-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3c7b92bdd060ada4de7d022f415eae2ed254e0c8f53130f9428fbfaaa841bf25
BLAKE2b-256 checksum
How to use checksums
ebb0f265ffc75bd618ce8361a1d0cd52f696638353615cf85f7693ea9c2f4582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.3 Darwin/24.1.0

Release files / docker_mounter-0.1.0-py3-none-any.whl

Download URL docker_mounter-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8aa7ab4b1319bf2713ec6c35e52ef816077061ae6f71be9a2d1f6632af194829
BLAKE2b-256 checksum
How to use checksums
5dd1fe2bcf3aea1f9e20c3cb8e1a55b606b40ea87e6618493ce751ba64b3ff08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.3 Darwin/24.1.0

Security for docker-mounter 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page