Skip to content

Commit

Permalink
Note on compatibility with old Docker
Browse files Browse the repository at this point in the history
	modified:   README.md
  • Loading branch information
abernatskiy committed Oct 3, 2023
1 parent 317473a commit c74251c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,21 @@ A healthy response should look similar to
```
Wait for about a minute before proceeding to the next step.

If you get an error message about `unknown shorthand flag: 'd' in -d`, that means that you're using an old version of `docker` that does not support the `compose` command yet. Update Docker or edit the `commands.json` file as follows:
```diff
"up": {
"deps": ["check-key"],
"description": "Start a PG database",
- "cmd": ["docker", "compose", "up", "-d"]
+ "cmd": ["docker-compose", "up", "-d"]
},
"down": {
"description": "Drop a PG database",
- "cmd": ["docker", "compose", "down"]
+ "cmd": ["docker-compose", "down"]
},
```

4. Prepare the squid for running by installing dependencies, building the source code and creating all the necessary database tables:
```bash
npm ci
Expand Down

0 comments on commit c74251c

Please sign in to comment.