-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker issue: /ipfs and /ipns are empty within container despite node having pinned files #7922
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Same issue for me. I'm trying to understand if there is any solution for that feature |
I could not find any solution, any improvements on this ? |
For me, this was related to #9044. dag-pb files wouldn't show through fuse, but raw files (those added with Raw pin base32 cids begin with "bafkrei" and dag-pb base32 cids begin with "bafybei". You can list your raw pins with |
Any updates on this? Running into the same issue here |
#7738 tells us that these folders are supposed to be empty, no? |
u may want o look into this https://youtu.be/PHujBhq4J9A |
Some new ways to do this from here: https://news.ycombinator.com/item?id=39213960
|
To clarify something, that project supports mounting IPFS and IPNS via FUSE and WinFSP already. With NFS and 9P implemented, but still pending some testing. It all works, but I don't want to encourage people to use it (hence the rather bare repo). |
I'm not sure if there's a bug with the Docker setup in the README, or if there are missing steps that should be documented.
Despite having a test file uploaded and pinned in my IPFS web dashboard, and the daemon set to mount them automatically, the folders in
/ipns
(and/ipfs
) are empty within Docker and do not contain my test data.If I try to mount them as volumes on the host, not only are they empty but they don't even contain the empty
12D3K...
andlocal
dirs that were visible from within the container.I have the following
docker-compose.yml
setup as instructed by the README and this document: https://github.com/ipfs/go-ipfs/blob/master/docs/fuse.md#mounting-ipfs:/etc/fuse.conf
:/data/ipfs/config
:When I start the container with
docker-compose up
it reports that/ipfs
and/ipns
have been successfully mounted, but they remain empty within the container despite having pinned files.I'm trying to eventually mount
/ipfs
and/ipns
as volumes so that the host OS can write files into them, but I cant even get them working within the container as regular non-volume folders first. The eventually goal is to be able to put a folder into~/myfiles
on the host, and have it automatically uploaded byipfs
within the docker container without having to mess around with theipfs files
cli toadd
files manually.Not sure if this ticket means that isn't possible yet: ipfs/roadmap#90 If it's definitely not possible then that should probably also be documented in the README so people don't waste time trying to get mounts working from within Docker. However this issue is specific to the fact that
/ipfs
and/ipns
are empty when they should contain data.Semi-related issues:
mount
to go-ipfs ipfs-inactive/package-managers#74 (comment)The text was updated successfully, but these errors were encountered: