-
If I'm running on a Mac, and it's not OrbStack, I want to display a message pointing them to OrbStack, eg: if [ "$(uname)" == "Darwin" ]; then
docker run --rm alpine sh -c \
'if [ -z "$SOME_ORBSTACK_ENV" ]; then
echo "Get up to 2x faster test runs by switching from Docker Desktop to OrbStack. Read more: https://mydocs.com";
fi'
fi Is there an env var like $SOME_ORBSTACK_ENV that I can run either on host, or preferably inside the container to detect OrbStack? |
Beta Was this translation helpful? Give feedback.
Answered by
kdrag0n
Mar 27, 2024
Replies: 1 comment 1 reply
-
Inside container: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kdrag0n
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inside container:
uname -r
should containorbstack
.