cameri / nostream

A Nostr Relay written in TypeScript
MIT License
741 stars 190 forks source link

[BUG] docker fails on ubuntu #327

Closed ralyodio closed 8 months ago

ralyodio commented 1 year ago
$ npm run docker:compose:start                                                                                                                                      

> nostream@1.25.2 docker:compose:start                                                                                                                              
> ./scripts/start                                                                                                                                                   

unknown shorthand flag: 'f' in -f                                                                                                                                   
See 'docker --help'.                                                                                                                                                

Usage:  docker [OPTIONS] COMMAND                                                                                                                                    
$ docker-compose -v
docker-compose version 1.29.2, build unknown
ralyodio commented 1 year ago

I just cloned the repo and added SECRET=xyz to .env

is there anythin gelse i need to do?

ralyodio commented 1 year ago
$ docker compose
docker: 'compose' is not a docker command.
See 'docker --help'

The ./scripts/start command has a space between docker compose -- it works if you change it to docker-compose

cameri commented 1 year ago

Install Docker from their official guide. Your version is incompatible.

https://docs.docker.com/engine/install/

decentropy commented 1 year ago

change scripts 'start' and 'stop' to say docker-compose (with hyphen) got past this error for me

cameri commented 8 months ago

Help has been provided above. The user should install Docker from the official documentation: https://docs.docker.com/engine/install/