From a8da1190431c257aea37c52ca95a68d6b908e5b1 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 31 Jan 2024 13:51:59 +0300 Subject: [PATCH] Container : Hostname includes host hostname. --- .config/bash/module/Container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Container.sh b/.config/bash/module/Container.sh index e933be4..e77553e 100644 --- a/.config/bash/module/Container.sh +++ b/.config/bash/module/Container.sh @@ -14,7 +14,7 @@ function ca() { docker run \ --privileged \ -d -it \ - -h "${name}" --name "${name}" \ + -h "${HOSTNAME}${name#box}" --name "${name}" \ --workdir /data \ -e XDG_RUNTIME_DIR=/tmp \ -e WAYLAND_DISPLAY=${WAYLAND_DISPLAY} \