Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose issues on Debian 11 #152

Open
improvethings opened this issue May 6, 2022 · 1 comment
Open

Docker compose issues on Debian 11 #152

improvethings opened this issue May 6, 2022 · 1 comment

Comments

@improvethings
Copy link

$ lsb_release -d
Description: Debian GNU/Linux 11 (bullseye)
$ uname -srm
Linux 5.10.0-13-amd64 x86_64
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ docker version
Client:
Version: 20.10.5+dfsg1
API version: 1.41

$ head
docker.compose.txt
~/.nigiri/docker-compose.yml:
version: '3.8'
services:

RPC daemon

bitcoin:
image: ghcr.io/vulpemventures/bitcoin:latest

... etc

$ nigiri start
ERROR: Version in "/home/me/.nigiri/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
exit status 1

so I remove the "version: '3.8'" first line:

$ nigiri start
ERROR: The Compose file '/home/me/.nigiri/docker-compose.yml' is invalid because:
Unsupported config option for services: 'chopsticks'
Unsupported config option for networks: 'default'
exit status 1

I've attached the docker compose file

@tiero
Copy link
Member

tiero commented May 7, 2022

Can you update your docker-compose to latest version? It should not be needed to touch the compose in your nigiri datadir

https://docs.docker.com/compose/install/#install-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants