9 lines
241 B
Bash
9 lines
241 B
Bash
#!/bin/sh
|
|
{
|
|
echo -n "DOCKER_ADD_RUNTIMES=\""
|
|
for file in /etc/docker-runtimes.d/*; do
|
|
[ -f "$file" ] && [ -x "$file" ] && echo -n "--add-runtime $(basename "$file")=$file "
|
|
done
|
|
echo "\""
|
|
} > /run/docker/runtimes.env
|