From de8760c25b4410a9de20d47e7f10b8fc0ebbe164 Mon Sep 17 00:00:00 2001 From: hornmw <53017330+hornmw@users.noreply.github.com> Date: Wed, 17 Jul 2019 12:26:34 -0600 Subject: [PATCH] Pass --init to "docker run" so it can use tini "docker run" is failing because it cannot find tini in /usr/local/bin Since tini is now included by default in docker, we can pass in the --init flag to ensure it's used. See https://github.com/krallin/tini#using-tini for details --- pinata-ssh-forward.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pinata-ssh-forward.sh b/pinata-ssh-forward.sh index 52da7a2..57914ee 100755 --- a/pinata-ssh-forward.sh +++ b/pinata-ssh-forward.sh @@ -16,6 +16,7 @@ docker volume create --name "${VOLUME_NAME}" docker run \ --name "${CONTAINER_NAME}" \ + --init \ -e AUTHORIZED_KEYS="${AUTHORIZED_KEYS}" \ -v ${VOLUME_NAME}:/ssh-agent \ -d \