Set DOCKER_HOST env var

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2023-07-06 10:17:43 +01:00
parent a0a1834112
commit 1bbe379a34
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
1 changed files with 3 additions and 0 deletions

View File

@ -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}}')