Open hosh opened 9 years ago
@jbenet do you think there is a way to have the dataset inside the container?
Though that might be a stretch, carting it around. As a seed it would work very well though. Hmm.
@hosh oh yeah we could ship a container with a node initialized and the data already added to the container. We'd just have to generate an ephemeral ID on first run (so multiple containers have different IDs).
@jbenet roger
@hosh another way would be to just issue an ipfs pin add -r
command through the http api after the container boots. in that case the data would have to be somethere already though.
@jbenet I didn't know the http API lets you issue ipfs commands. Huh.
Yeah that's how the cli issues commands when daemon is on. (And why the api is separate from gateway route, so we can expose gateway without exposing api)
— Sent from Mailbox
On Mon, Mar 16, 2015 at 11:03 AM, Ho-Sheng Hsiao notifications@github.com wrote:
@jbenet I didn't know the http API lets you issue ipfs commands. Huh.
Reply to this email directly or view it on GitHub: https://github.com/jbenet/ipfs-container-demos/issues/8#issuecomment-81846339
Overview
This is the most useful for open data. Examples: