# Docker-compose.yaml error

**URL:** <https://community.creditcoin.org/t/docker-compose-yaml-error/293>\
**Category:** Uncategorized\
**Created:** [May 17, 2021, 6:45am UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293 "2021-05-17T06:45:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lion](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Lion](https://community.creditcoin.org/u/Lion)\
**Post date:** [May 17, 2021, 6:45am UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/1 "2021-05-17T06:45:09Z")

</div>

The updated server and client require docker-compose.yml, gateway Config,clientConfig,json code. It seems to be different from the guide, so it is very different.  
I set it on Windows, but even if I do port forwarding, I get a 503 error, and the tar file is set and then an error occurs…ㅠㅠ

---

<div class="post-metadata">

**Author:** ![will\_gluwa](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/32/9_2.png) [@will\_gluwa](https://community.creditcoin.org/u/will_gluwa)\
**Post date:** [May 17, 2021, 5:12pm UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/2 "2021-05-17T17:12:21Z")

</div>

Please use the docs here:  
[https://docs.creditcoin.org/creditcoin-miners-manual](https://docs.creditcoin.org/creditcoin-miners-manual)  
[https://docs.creditcoin.org/updating-creditcoin-nodes](https://docs.creditcoin.org/updating-creditcoin-nodes)

---

<div class="post-metadata">

**Author:** ![Lion](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Lion](https://community.creditcoin.org/u/Lion)\
**Post date:** [May 19, 2021, 5:00am UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/3 "2021-05-19T05:00:28Z")

</div>

```auto
Thank you. I have a question, but the capacity of the tar file downloaded is over 80 GB, but during the installation process by executing the command, the capacity exceeds 400 GB. How much capacity do I need to use the mining system??

```

> ![](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/45/9_2.png "will\_gluwa") | [will\_gluwa](http://community.creditcoin.org/u/will_gluwa)  
> May 17 |
> 
> - | - |

Please use the docs here:

 ![](https://canada1.discourse-cdn.com/flex031/uploads/creditcoin/original/1X/6d9d42844036b1052dd9dc3896190c35719e5ed8.png)[docs.creditcoin.org](https://docs.creditcoin.org/creditcoin-miners-manual)

### [Creditcoin Miner’s Manual](https://docs.creditcoin.org/creditcoin-miners-manual)

This guide will walk you through connecting to the Creditcoin blockchain and running your own Server and Client.

 ![](https://canada1.discourse-cdn.com/flex031/uploads/creditcoin/original/1X/6d9d42844036b1052dd9dc3896190c35719e5ed8.png)[docs.creditcoin.org](https://docs.creditcoin.org/updating-creditcoin-nodes)

### [Updating Creditcoin Nodes](https://docs.creditcoin.org/updating-creditcoin-nodes)

We recommend using the latest production images for better mining experience. Also, you can take advantage of a snapshot to upstart your syncing process.

---

<div class="post-metadata">

**Author:** ![will\_gluwa](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/32/9_2.png) [@will\_gluwa](https://community.creditcoin.org/u/will_gluwa)\
**Post date:** [May 19, 2021, 5:09pm UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/4 "2021-05-19T17:09:11Z")

</div>

It’s hard to give an exact answer, because the blockchain is always growing, however, for now around 512 GB should be enough storage for the blockchain itself. 1 TB if you want to future-proof yourself and have plenty of room for logs and backups, etc.

Here’s a breakdown of the actual blockchain usage on disk at the moment:

| File | GB |
| --- | --- |
| block-00.lmdb | 3.772420096 |
| merkle-00.lmdb | 215.4073129 |
| receipts-00.lmdb | 0.815833088 |
| **Total** | **219.9955661** |

If your 400 GB drive is being exhausted, I’m assuming there are old blockchain versions or other data using additional space. There are some commands to find large files in this thread on [askubuntu.com](http://askubuntu.com) that might help find them:  
[disk usage - What's a command line way to find large files/directories to remove and free up space? - Ask Ubuntu](https://askubuntu.com/questions/36111/whats-a-command-line-way-to-find-large-files-directories-to-remove-and-free-up)

---

<div class="post-metadata">

**Author:** ![sword](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sword](https://community.creditcoin.org/u/sword)\
**Post date:** [May 25, 2021, 5:50am UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/5 "2021-05-25T05:50:50Z")

</div>

You need to untar using sparse mode.  
Please find following command example.

> tar -I pigz -xvf \<저장한 디렉토리\>/CTC\_Snapshot\_210314\_130508.tar.gz -P /var/lib/docker/volumes/server\_validator-block-volume/

---

<div class="post-metadata">

**Author:** ![Lion](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Lion](https://community.creditcoin.org/u/Lion)\
**Post date:** [May 25, 2021, 2:06pm UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/6 "2021-05-25T14:06:56Z")

</div>

tar xzvf /creditcoin-block-volume.tar.gz -C /var/lib/docker/volumes/server\_validator-block  
​  
​

```auto
Is this a different command than this one?

```

​  
​  
​  
​  
​

---

<div class="post-metadata">

**Author:** ![sword](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sword](https://community.creditcoin.org/u/sword)\
**Post date:** [May 25, 2021, 10:59pm UTC](https://community.creditcoin.org/t/docker-compose-yaml-error/293/7 "2021-05-25T22:59:36Z")

</div>

Refer to the following manuals.

Korean  
[리눅스 tar 명령어 사용법. (Linux tar command) - 파일 압축 및 해제 :: 개발자를 위한 레시피](https://recipes4dev.tistory.com/146)  
[tar(1) man page](https://nxmnpg.lemoda.net/ko/1/tar)

English  
[https://man7.org/linux/man-pages/man1/tar.1.html](https://man7.org/linux/man-pages/man1/tar.1.html)
