From 1bbe379a3473bf21c7a48194e3fe6f9decdd24c1 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 6 Jul 2023 10:17:43 +0100 Subject: [PATCH] Set DOCKER_HOST env var Signed-off-by: Marcus Noble --- home/.dotfiles/environment | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.dotfiles/environment b/home/.dotfiles/environment index a490dd0..5a85bc5 100644 --- a/home/.dotfiles/environment +++ b/home/.dotfiles/environment @@ -28,3 +28,6 @@ export BAT_STYLE="grid,header" # TZ export TZ_LIST="Europe/Berlin;Europe/Sofia;UTC" + +# Docker +export DOCKER_HOST=$(docker context inspect --format='{{.Endpoints.docker.Host}}')