From dff790029ca17811a04fdda3069fc5c0a1a729ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 22 Oct 2019 10:32:00 +0200 Subject: Adding default hook to unlink console prior start when bindmounting /dev (e.g. in GPU computing cases). Signed-off-by: Daniel Baumann --- lib/container/start | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/container/start b/lib/container/start index 47c2907..13fc6ef 100755 --- a/lib/container/start +++ b/lib/container/start @@ -101,6 +101,9 @@ then Usage fi +# hooks +export NAME + case "${NAME}" in ALL) NAMES="$(${PROGRAM} list --format shell --stopped)" -- cgit v1.2.3