Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Docker image in docker hub #1235

Closed
JGAntunes opened this issue Feb 26, 2018 · 5 comments
Closed

Docker image in docker hub #1235

JGAntunes opened this issue Feb 26, 2018 · 5 comments
Assignees

Comments

@JGAntunes
Copy link
Member

Type:

Feature/Enhancement

Description:

It would be really cool to have js-ipfs docker image releases in docker hub as we currently have for go-ipfs.

@daviddias
Copy link
Member

Perhaps @victorbjelkholm has already done this?

@daviddias daviddias added the status/ready Ready to be worked label Feb 26, 2018
@victorb
Copy link
Member

victorb commented Feb 27, 2018

I've asked for access to the IPFS organization so we can start pushing images to Docker Hub.

@victorb victorb self-assigned this Feb 27, 2018
@victorb
Copy link
Member

victorb commented Feb 28, 2018

There is now docker images for js-ipfs on Docker Hub 🎉 Builds automatically when branches changes and master branch in git is latest on Docker Hub (idiom for docker builds).

$ docker run -it -p 4001:4002 -p 5001:5002 ipfs/js-ipfs

initializing ipfs node at /root/.jsipfs
generating 2048-bit RSA keypair...done
peer identity: Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS
to get started, enter:

         jsipfs files cat /ipfs/QmfGBRT6BbWJd7yUc2uYdaUZJBbnEFvTqehPFoSMQ6wgdr/readme

Initializing daemon...
Using wrtc for webrtc support
Swarm listening on /ip4/127.0.0.1/tcp/4003/ws/ipfs/Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS
Swarm listening on /ip4/172.17.0.2/tcp/4003/ws/ipfs/Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS
Swarm listening on /ip4/127.0.0.1/tcp/4002/ipfs/Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS
Swarm listening on /ip4/172.17.0.2/tcp/4002/ipfs/Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS
API is listening on: /ip4/0.0.0.0/tcp/5002
Gateway (readonly) is listening on: /ip4/0.0.0.0/tcp/9090
Daemon is ready

$ curl --silent localhost:5001/api/v0/id | jq .ID
"Qmbd5jx8YF1QLhvwfLbCTWXGyZLyEJHrPbtbpRESvYs4FS"

@victorb victorb closed this as completed Feb 28, 2018
@ghost ghost removed the status/ready Ready to be worked label Feb 28, 2018
@daviddias daviddias reopened this Mar 1, 2018
@daviddias
Copy link
Member

daviddias commented Mar 1, 2018

@victorbjelkholm it would be super helpful if this is documented on the README, can you do that?

@ghost ghost added the status/in-progress In progress label Mar 1, 2018
@ghost ghost removed the status/in-progress In progress label Mar 1, 2018
@JGAntunes
Copy link
Member Author

Awesome @victorbjelkholm! Thanks a lot! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants