Awesome
<p align="center"> <img src="https://user-images.githubusercontent.com/168240/42129996-3bd8e646-7c8a-11e8-940d-89cea5ef87b8.png" width="250" alt="sandbox" /> <br> <br> </p>C3 Go
Go implementation of the C3 protocol
Install
Requirements
- Docker
- IPFS
- Patchutils
- MacOS
brew install patchutils
- MacOS
CLI
Install using go get
(must have Go installed).
go get -u github.com/c3systems/c3
Show help for C3
$ c3 help
Push image to IPFS
$ c3 push {imageID}
Pull image from IPFS
$ c3 pull {ipfsHash}
Docker config
Configure daemon.json
to include the private registry as insecured (momentarily).
{
"insecure-registries" : [
"{YOUR_LOCAL_IP}:5000"
]
}
- Linux
/etc/docker/daemon.json
- macOS
~/.docker/daemon.json
Restart the docker daemon after configuring daemon.json
Test
make test
Tests require docker daemon and IPFS daemon to be running