mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
Adds $DOCKERFILES_RUN_FLAGS when running containers through command_not_found_handle
This commit is contained in:
parent
63dcbba106
commit
cec75699e8
2
bashrc
2
bashrc
|
@ -38,7 +38,7 @@ command_not_found_handle () {
|
|||
|
||||
docker run $DASHT -i -u $(whoami) -w "$HOME" \
|
||||
$(env | cut -d= -f1 | awk '{print "-e", $1}') \
|
||||
$DEVICES $VOLUMES \
|
||||
$DOCKERFILES_RUN_FLAGS $DEVICES $VOLUMES \
|
||||
-v /etc/passwd:/etc/passwd:ro \
|
||||
-v /etc/group:/etc/group:ro \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
|
|
Loading…
Reference in New Issue
Block a user