Created
April 6, 2024 01:21
-
-
Save davidmroth/6094a9162b7b5adf6bc581b130bd9884 to your computer and use it in GitHub Desktop.
Docker ENV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DOCKER_DEFAULT_PLATFORM=linux/amd64 | |
export DOCKER_HOST="tcp://"$(ifconfig enp0s1 | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | head -1 | awk -F"." '{print $1"."$2"."$3".1"}')":2375" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment