Giter VIP home page Giter VIP logo

Comments (6)

fcabrera23 avatar fcabrera23 commented on September 27, 2024

Hi @Vishwanath-Reddy-M,

Have you tried the same using IoT Edge on Ubuntu? Probably this issue is related to the Moby Engine being used by IoT Edge.

Thanks,
Francisco

from iotedge-eflow.

nlcamp avatar nlcamp commented on September 27, 2024

Transferring back to iotedge-eflow after chatting with @fcabrera23.

from iotedge-eflow.

jagadishmurugan avatar jagadishmurugan commented on September 27, 2024

@Vishwanath-Reddy-M, these are the steps i tried, can you confirm - i dont see the problem:

Map shared folder (c:\users\public\for-guest-access -> /tmp/hostshare)
Create folder /tmp/hostshare/container-dir
Create container
Create volume
docker volume create --opt type=none --opt o=bind --opt device=/tmp/hostshare/container-dir bindVol
Run the container using volume mount -> docker run -it --name=busybox --mount source=bindVol,destination=/app --user uid:gid busybox
From container, create a file under /app -> echo "hello-world" >> /app/hw.txt
Verify /tmp/hostshare/container-dir/hw.txt contains file and contains "hello-world"
Verify the same from c:\users\public\for-guest-access

from iotedge-eflow.

jagadishmurugan avatar jagadishmurugan commented on September 27, 2024

map to a folder /tmp (/tmp/sharedfolder) instead of to /tmp

from iotedge-eflow.

Vishwanath-Reddy-M avatar Vishwanath-Reddy-M commented on September 27, 2024

Thanks @jagadishmurugan . We will check this option internall and update you.

Regards,
Vishwa

from iotedge-eflow.

Vishwanath-Reddy-M avatar Vishwanath-Reddy-M commented on September 27, 2024

Hi @jagadishmurugan (@fcabrera23 - FYI) as of now we are going ahead with /tmp/ path in file share.

But potentially this (File Sharing command) should either work smoothly no matter whatever target folder specified (we mean command should inform )  OR documentation should tell to end user,  ONLY target Linux machine sub-folders under following root lever folders are allowed in current version) .

image

From other thread:

[2:33 PM] Jagadish Murugan

we will update documentation to clarify - 

 "When an existing folder is used for FolderSharing (mounting to an existing folder), Linux redirects IO to/from that folder to the mounted device at that location - so the previous contents are effectively hidden. Once foldersharing is reverted, the old folder contents should appear again"
for the above reason, do not mount to any of the system created folders

Thanks,
Vishwa

from iotedge-eflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.