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