ipfs-shipyard / container-demos

ipfs container demos
MIT License
44 stars 13 forks source link

Writable containers with IPFS in 5 seconds. #4

Open hosh opened 9 years ago

hosh commented 9 years ago
  1. Start a container.
  2. Write to it.
  3. Shut it down.
  4. Elsewhere, start the container.
  5. boom changes.

    Discussion

  6. Does this require changes in unionfs?
  7. Or are we talking about having ipfs as a possible layer inside a stack of unionfs?
jbenet commented 9 years ago

This needs IPNS working, so we can mount ipns fuse, and put the container in there. @whyrusleeping how far are the ipns changes from being in?

hosh commented 9 years ago

Ok, IPNS is working for go-ipfs:master

There is also a way to use FUSE mounts without starting the container in priveledged mode: https://github.com/docker/docker/issues/9448#issuecomment-65529399

docker run -ti --name dev --device /dev/fuse peter/dev:sshfs /bin/bash