Files
nomad/scripts/docker-entrypoint.sh
Aimee Ukasick a30cb2f137 Update UI, code comment, and README links to docs, tutorials (#26429)
* Update UI, code comment, and README links to docs, tutorials

* fix typo in ephemeral disks learn more link url

* feedback on typo

Co-authored-by: Tim Gross <tgross@hashicorp.com>

---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2025-08-06 09:40:23 -05:00

21 lines
974 B
Bash
Executable File

#!/usr/bin/env ash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
case "$1" in
"agent" )
if [[ -z "${NOMAD_SKIP_DOCKER_IMAGE_WARN}" ]]
then
echo "======================================================================================================================================="
echo "!! Running Nomad clients inside Docker containers is not supported. !!"
echo "!! Refer to https://developer.hashicorp.com/nomad/docs/deploy/production/requirements#running-nomad-in-docker for more information. !!"
echo "!! Set the NOMAD_SKIP_DOCKER_IMAGE_WARN environment variable to skip this warning. !!"
echo "======================================================================================================================================="
echo ""
sleep 2
fi
esac
exec nomad "$@"