|
|
@ -209,6 +209,12 @@ mk_docker_run_options() { |
|
|
|
COMPOSE_DOCKER_IMAGE=${COMPOSE_DOCKER_IMAGE:-docker.0k.io/compose} |
|
|
|
docker_run_opts+=("-e" "COMPOSE_DOCKER_IMAGE=$COMPOSE_DOCKER_IMAGE") |
|
|
|
|
|
|
|
## SSH config |
|
|
|
docker_run_opts+=( |
|
|
|
"-v" "/root/.ssh:/root/.ssh:ro" |
|
|
|
"-v" "/etc/ssh:/etc/ssh" |
|
|
|
) |
|
|
|
|
|
|
|
COMPOSE_LAUNCHER_BIN=$(readlink -f "${BASH_SOURCE[0]}") |
|
|
|
docker_run_opts+=("-v" "$COMPOSE_LAUNCHER_BIN:/usr/local/bin/compose") |
|
|
|
|
|
|
|