Last active
April 25, 2018 06:18
-
-
Save gutenye/4f5a16c6651e9471ffd7c35223d1c0df to your computer and use it in GitHub Desktop.
bitcore
This file contains 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
version: "2" | |
services: | |
app: | |
image: jeshan/bitcore-node | |
environment: | |
- NETWORK=testnet | |
#network_mode: host | |
volumes: | |
- './data:/root/bitcoin-node/data' |
This file contains 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
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
$ sudo apt-key fingerprint 0EBFCD88 | |
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
$ sudo apt-get update | |
$ sudo apt-get install docker-ce | |
$ sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
$ sudo chmod +x /usr/local/bin/docker-compose | |
$ sudo systemctl enable docker | |
$ sudo systemctl start docker | |
$ sudo usermod -aG docker $USER | |
# systemctl edit docker | |
ExecStart= | |
ExecStart=/usr/bin/docker daemon -H fd:// --registry-mirror="https://registry.docker-cn.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment