We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273394d commit 46f5d28Copy full SHA for 46f5d28
bin/dev_command/run
@@ -0,0 +1,12 @@
1
+
2
3
+dc mode run;
4
+dc service $1;
5
6
+if [ -n "${DEV_PROJECTDIR}" ]; then
7
+ dc opt "-w /data/${DEV_PROJECTDIR}"
8
+fi
9
10
+shift;
11
+dc cmd "$*";
12
docs/development-commands.md
@@ -28,6 +28,8 @@ To control your docker environment.
28
alias for `dev update && dev build && dev down && dev up`
29
- `restart [CONTAINER]`
30
restart all or a specific container
31
+- `run`
32
+ run one-off commands in new container
33
- `setup`
34
Run setup for defaults
35
- `start`
0 commit comments