Conversation
removed init so that the image ships no longer ships with an identity. TODO Maybe allow `ipfs --init run`? It's important to keep the initialization process simple.
|
Maybe: # set bootstrap through ENV
ENV IPFS_BOOTSTRAP /ip4/0.0.0.0/tcp/4001
# maybe want ENTRYPOINT [1]
ENTRYPOINT ["ipfs"]
# args to IPFS
CMD ["run"]once #251 is done [1] From http://docs.docker.com/reference/builder/#cmd
|
What's the semantics if it's already inited? seems error prone. (maybe
Completely agreed. |
|
Alternatively, |
|
@jbenet RTM |
|
@maybebtc i merged, but i still think we should change this to an entrypoint at some point. |
|
Ah you rewrote history 🐍 😄 I'll change over once I've had a chance to try it out. |
|
@maybebtc ??? i didnt rewrite history, i just clicked Merge after seeing RTM. |
|
Oh no. I didn't see your comment about |
removed
ipfs init(so that the image ships no longer ships with an identity)TODO Maybe allow an init flag
ipfs --init run? It's important to keep the initialization process simple. Open to alternatives. It would be nice to be able to ship an image that users can pull and execute in one command.