Skip to main content

Mount a Running Docker Container File Sytem via FUSE.

  • No requirement to install additional agents to container side. it’s only required to have permitted to docker exec command.

  • Docker container xros-over-sshfs that mount other containers file system automatically by XrosFS with autofs and sshfs is released.

Requirements

Docker Host Side

  • Python 3.5 or later

  • FUSE 2.6 (or later)

  • Permitted to execute $ docker exec

Docker Container Side

  • Shell (ash or bash) and some commands(test, stat, dd base64 etc.) (Usually, they are already installed plain image of alpine, debian etc.)

Installation

pip install xrosfs

Usage

Mount / of container1 to ~/mnt.

$ xrosfs container1:/ ~/mnt

In above step, xrosfs connect to container1 as root user. Pass user@container1:/ to xrosfs, if you want to connect as other users.

Known Issues

  • Can’t access to file that had \n included filename.

  • Bad response time in operates.

  • Some operations methods are not full implemented yet(flush(fsync) utimens etc.).

License

Copyright (c) 2018 hankei6km

Licensed under the MIT License. See LICENSE.txt in the project root.

Metadata

Release files for xrosfs 0.1.1

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

Source distribution (sdist)

Source distribution for xrosfs 0.1.1
File Size Uploaded
xrosfs-0.1.1.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xrosfs 0.1.1
File Interpreter ABI Platform
xrosfs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / xrosfs-0.1.1.tar.gz

Download URL xrosfs-0.1.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e77efa1424fda3cff2c7fffc892f7577ee06bacd6f8271693ac5c01053aaed03
BLAKE2b-256 checksum
How to use checksums
0a92c0e17e0b63d0316a54e7e1959696126bffba7615f6bbc28e019e59a91b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xrosfs-0.1.1-py3-none-any.whl

Download URL xrosfs-0.1.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e14cef23231b6df95307e0bc7f287d39d7431aaf2553d03e2b7964bfb78d5f0b
BLAKE2b-256 checksum
How to use checksums
93ad47f83364a0dc3def2b9932bd26f70ea6479434b6de686904e09f8efe949d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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