Fix startup bash
This commit is contained in:
@@ -10,8 +10,8 @@ mkdir -p "$(dirname "/etc/ssh/sshd_config.d/10-hostkeys.conf")"
|
||||
printf 'HostKey %s\n' "${keys[@]}" > "/etc/ssh/sshd_config.d/10-hostkeys.conf"
|
||||
|
||||
# Setup the DinD socket:
|
||||
if [ -z DOCKER_RUN_DIR ]; then
|
||||
ln -s /run/dind/docker.sock /var/run/docker.sock || echo "Failed to symlink Docker socket!"
|
||||
if [ -n DOCKER_RUN_DIR ]; then
|
||||
ln -s "$DOCKER_RUN_DIR/docker.sock" /var/run/docker.sock || echo "Failed to symlink Docker socket!"
|
||||
fi
|
||||
|
||||
# Setup the target user and their group
|
||||
|
||||
Reference in New Issue
Block a user