Complile Source - Docker - Synology

Hello,

I’m having issues with my current version of docker-compose.
So I’m trying to get an updated package for linux_x86-64 (and did not see the more option) thus trying to compile and found.

Downloaded from :

https://github.com/docker/compose/releases

Current docker version:

docker-compose --version
Docker Compose version v2.9.0-6413-g38f6acd

OS:

uname -a
Linux ULTRA-NAS-1 4.4.302+ #69057 SMP Mon Nov 13 14:21:00 CST 2023 x86_64 GNU/Linux synology_denverton_1819+

I’m getting error

strconv.Atoi: parsing "": invalid syntax

Trying to build the new version, it seems there is error…

ash-4.4# docker-compose up

[+] Running 0/1
 ⠹ Network archive_aux  Creating                                                        0.3s
WARN[0000] container 71f75b00c6e5df8947a73ebbd53c1511d8cb0be4d545b4545b7dc41394006e48 is missing com.docker.compose.container-number label 
WARN[0000] container 71f75b00c6e5df8947a73ebbd53c1511d8cb0be4d545b4545b7dc41394006e48 has invalid com.docker.compose.container-number label:  
WARN[0000] container f20c7d3b5b9a5613a51b16a02453ccd49582773a7520eb07c7cc803d7a5c6b7a is missing com.docker.compose.container-number label 
WARN[0000] container f20c7d3b5b9a5613a51b16a02453ccd49582773a7520eb07c7cc803d7a5c6b7a has invalid com.docker.compose.container-number label:  
WARN[0000] container bf87eaf2db63c81f691de649ac4f7b40ad438f896cef07deae025601055448d4 is missing com.docker.compose.container-number label 
WARN[0000] container bf87eaf2db63c81f691de649ac4f7b40ad438f896cef07deae025601055448d4 has invalid com.docker.compose.container-number label:  
WARN[0000] container b3196c6be86da87a913b190d3a01cbc9cc95c0d2fdc12e55ea83b370a615bf90 is missing com.docker.compose.container-number label 
WARN[0000] container b3196c6be86da87a913b190d3a01cbc9cc95c0d2fdc12e55ea83b370a615bf90 has invalid com.docker.compose.container-number label:  
WARN[0000] container 84769fe273182ad3194671b3404c8addc216ff574d347d966c482795bc8c6f36 is missing com.docker.compose.container-number label 
WARN[0000] container 84769fe273182ad3194671b3404c8addc216ff574d347d966c482795bc8c6f36 has invalid com.docker.compose.container-number label:  
WARN[0000] container a5b9d7b9aba5dcaeeeaf8d1d5f893ab7c61f94e7a97cf3a78a8808d892db4614 is missing com.docker.compose.container-number label 
WARN[0000] container a5b9d7b9aba5dcaeeeaf8d1d5f893ab7c61f94e7a97cf3a78a8808d892db4614 has invalid com.docker.compose.container-number label:  
WARN[0000] container 8ced713f214826758c7ec6c4ec483127ede45be9c00d45cc1bddf1889753a118 is missing com.docker.compose.container-number label 
WARN[0000] container 8ced713f214826758c7ec6c4ec483127ede45be9c00d45cc1bddf1889753a118 has invalid com.docker.compose.container-number label:  
WARN[0000] container 3047b4873de33c868dc16da6bc202c9e6d74d71c8cc314e99b4a986289722794 is missing com.docker.compose.container-number label 
WARN[0000] container 3047b4873de33c868dc16da6bc202c9e6d74d71c8cc314e99b4a986289722794 has invalid com.docker.compose.container-number label:  
WARN[0000] container 12da3098daef9f0330b89d1d7710ccfa0e67df181d3a2f4337f308bb2b146296 is missing com.docker.compose.container-number label 
WARN[0000] container 12da3098daef9f0330b89d1d7710ccfa0e67df181d3a2f4337f308bb2b146296 has invalid com.docker.compose.container-number label:  
WARN[0000] container 9013ebe74384aa20558a06b7e59b255c1c6f43cde01734c174fbdf2bb56cb448 is missing com.docker.compose.container-number label 
WARN[0000] container 9013ebe74384aa20558a06b7e59b255c1c6f43cde01734c174fbdf2bb56cb448 has invalid com.docker.compose.container-number label:  
WARN[0000] container a65da41b97e4cbaf8f19f3bd0a56167b8c3079bfadc31a01bc2eb04ebba4c93c is missing com.docker.compose.container-number label 
[+] Running 1/2ainer a65da41b97e4cbaf8f19f3bd0a56167b8c3079bfadc31a01bc2eb04ebba4c93c has inv ⠿ Network archive_aux   Created                                                        0.4s
 ⠧ Container silly_wing  Recreate                                                       1.6s
strconv.Atoi: parsing "": invalid syntax
ash-4.4# 

You can install the latest compose plugin using the manual method:

You need to execute the commands for root, and if your normal user has permissions to access the docker.sock then for this user as well.

Thank you for the best intentions.

Honest question - Sorry did I post in the wrong place for BUG’s ? this should be fixed not ignored. :wink:

You are using an old version of docker compose. So the first thing do would be to upgrade it to a later version, wouldn`t it?

If you feel it’s a bug, you can always create an issue in the docker compose GitHub project:

If you plan to replace Synology docker binaries with the compiled binaries: it is not going to work properly. The build is done in containers and will not use the Synology tool chain, and as such will not work as a drop-in replacement. Many peopled tried it (me including) and the result is frustrating. Though this is rather a Synology made problem, then a problem with the Docker sources. Synology bends kernels, libraries, binaries so that applications that expect standard libraries or kernel function are not working properly, as they would need to be modified to work with the modified versions… Synology is the maintainer and supporter of the Synology Docker/Container Manager package.

I blurred the last paragraph as it’s off-topic, since your topic is not about the docker engine.