Created
September 25, 2014 22:52
-
-
Save whyrusleeping/11e6145e392918de9173 to your computer and use it in GitHub Desktop.
Great success!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whyrusleeping@alarm~> ls ipns/QmRijjhFdMaZtWw6nFQmsYUNXnXjccLxFVmWcHHheHmHZ2 -l | |
lr-xr-xr-x 1 root root 0 Sep 25 15:51 ipns/QmRijjhFdMaZtWw6nFQmsYUNXnXjccLxFVmWcHHheHmHZ2 -> /home/whyrusleeping/mnt/QmSPrgf3kgrThSzALgskYeeSyKDoLdt7oDyfguMQ6XPkkX | |
whyrusleeping@alarm~> cat ipns/QmRijjhFdMaZtWw6nFQmsYUNXnXjccLxFVmWcHHheHmHZ2 | |
FROM golang:1.3 | |
MAINTAINER Brian Tiger Chow <[email protected]> | |
RUN apt-get update | |
RUN apt-get install -y fuse | |
COPY . /go/src/github.com/jbenet/go-ipfs | |
RUN cd /go/src/github.com/jbenet/go-ipfs/cmd/ipfs && go install | |
RUN ipfs init | |
RUN ipfs config Identity.Address "/ip4/0.0.0.0/tcp/4001" | |
RUN mkdir /ipfs | |
EXPOSE 4001 | |
CMD ["ipfs", "mount", "/ipfs"] | |
# build: docker build -t go-ipfs . | |
# run: docker run --privileged=true -i -t go-ipfs:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment