Server/docker-compose.yaml
with your .yaml file name and path for your node. docker-compose.yaml
file- rest-api
from the depends_on
section
b. Replace the entrypoint lines with:wget http://dl.creditcoin.org/latestblocks/snapshot-03-09-2022.tar.gz
aria2c -x5 http://dl.creditcoin.org/latestblocks/snapshot-03-09-2022.tar.gz
Server/docker-compose.yaml
with your the .yaml file name and path for your node, or download the latest version of the docker-compose files from Github, and then follow the instructions in Creditcoin Miner's Manual to reconfigure your node.sudo docker-compose -f Server/docker-compose.yaml down
sudo bash -c "rm /var/lib/docker/volumes/server_validator-block-volume/_data/*"
sudo tar xzvf /ccSnapshot-2021.10.16_961837.tar.gz --directory /var/lib/docker/volumes/server_validator-block-volume/
sudo docker-compose -f Server/docker-compose.yaml up
> docker-compose -f Server/docker-compose.yaml down
> docker run -it -v /:/host ubuntu /bin/sh
> docker container ls
> docker cp "C:\temp\snapshot-03-09-2022.tar.gz" recursing_lamport:/
$ sudo tar xzvf /snapshot-03-09-2022.tar.gz --directory /host/var/lib/docker/volumes/server_validator-block-volume/
> docker-compose -f Server/docker-compose.yaml up
> docker-compose -f Server/docker-compose.yaml down
> docker run -it -v /:/host ubuntu /bin/sh
> docker container ls
$ docker cp "/home/user/snapshot-03-09-2022.tar.gz" recursing_lamport:/
$ sudo tar xzvf /snapshot-03-09-2022.tar.gz --directory /host/var/lib/docker/volumes/server_validator-block-volume/
> docker-compose -f Server/docker-compose.yaml up