`make DOCKERD_ARGS=--init binary run` should start the daemon with
`--init` as flags (with any other "automagically" added ones).
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
| ... | ... |
@@ -28,9 +28,9 @@ if [ -n "$DOCKER_PORT" ]; then |
| 28 | 28 |
listen_port="${ports[-1]}"
|
| 29 | 29 |
fi |
| 30 | 30 |
|
| 31 |
-extra_params="" |
|
| 31 |
+extra_params="$DOCKERD_ARGS" |
|
| 32 | 32 |
if [ "$DOCKER_REMAP_ROOT" ]; then |
| 33 |
- extra_params="--userns-remap $DOCKER_REMAP_ROOT" |
|
| 33 |
+ extra_params="$extra_params --userns-remap $DOCKER_REMAP_ROOT" |
|
| 34 | 34 |
fi |
| 35 | 35 |
|
| 36 | 36 |
args="--debug \ |