Skip to content
Snippets Groups Projects

docker: simplify duniter subcommand run

Merged pini requested to merge pini-docker-entrypoint into master
All threads resolved!
4 files
+ 21
5
Compare changes
  • Side-by-side
  • Inline
Files
4
  • 1bb9b0da
    When the first argument of the entrypoint is '--' then bypass the default
    configuration via environment variables and directly run duniter with the
    given parameters (after removing the '--').
    
    The affected scripts and documentation were updated.
+ 8
0
@@ -80,3 +80,11 @@ You can pass any other option to duniter using the `command` docker-compose elem
# https://github.com/paritytech/substrate/issues/12073
- "--wasm-execution=interpreted-i-know-what-i-do"
```
# Running duniter subcommands or custom set of options
To run duniter from the command line without the default configuration detailed in the "Environment variables" section use `--` as the first argument. For example:
```
$ docker run --rm duniter/duniter-v2s:latest -- key generate
$ docker run --rm duniter/duniter-v2s:latest -- --chain gdev ...
```
Loading