We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server/src/takserver-schemamanager/scripts/takserver-setup-db.sh
Lines 84 to 90 in a4e4453
The test for /.dockerenv only works for docker containers. This could be expanded to work for Podman containers as well.
/.dockerenv
echo "Checking if running in a container..." if [ -f /.dockerenv ]; then echo "Docker installation detected."; IS_DOCKER=true IS_CONTAINER=true elif [ -f /run/.containerenv ]; then echo "Podman installation detected."; IS_PODMAN=true IS_CONTAINER=true else echo "Not running in a container."; fi
I do not know what the situation is within a Kubernetes POD.
This would, of course require updating all uses of IS_DOCKER to IS_CONTAINER.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Server/src/takserver-schemamanager/scripts/takserver-setup-db.sh
Lines 84 to 90 in a4e4453
The test for
/.dockerenv
only works for docker containers.This could be expanded to work for Podman containers as well.
I do not know what the situation is within a Kubernetes POD.
This would, of course require updating all uses of IS_DOCKER to IS_CONTAINER.
The text was updated successfully, but these errors were encountered: