From d1423df4e598cab4c94c24d94f4259d9f9e3331a Mon Sep 17 00:00:00 2001 From: Dian M Fay Date: Sat, 8 Aug 2020 14:34:31 -0400 Subject: [PATCH] docker_bash: start bash in a container --- README.md | 7 +++++++ docker_bash.png | Bin 0 -> 18008 bytes docker_bash.sh | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 docker_bash.png create mode 100755 docker_bash.sh diff --git a/README.md b/README.md index ed47265..2ddcfce 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,13 @@ Based on code in Mate-HUD. Attach to a running `tmux` session or create a new one. Since this script starts a new terminal it can also been used with a keybinding from your favorite window-manager. +## docker_bash.sh + +Start a Bash session in a Docker container. Like `tmux_session.sh` this opens a new terminal and is suitable for keybinding. + +### Screenshot +![Docker-Bash](docker_bash.png) + ### Usage Interactive usage diff --git a/docker_bash.png b/docker_bash.png new file mode 100644 index 0000000000000000000000000000000000000000..71372ba3e581a9fa9d7c8ea1fce5b2678cd2e553 GIT binary patch literal 18008 zcmeIa2T)UOw>E5f!~zO}qEbZ#6a+-+^$`#R1f+MOB1Ky09ijq)(gdV;5fB22NDmAe$b=mZEPv=9P>{2Sl%p7x#d&o}eWKl9BuXOfw{Q}=z}Yu#&IYprYTkI%K$E?!`} zaN@*?i|S8R^iG^O1Du|8J$DK?*yA6&0|&ZSnrbR1XvdG7`oe@0CvKilS9xsUo3S?K z6F5YgZQbncwh*pe%Vhd_^JOTf(P)5cvolC1KckPCa@*RfF)UN8@ z_<8xWyz0`1t&~_7ktZ(m||E3hi5Ii%)nHdF{qu2^-%i)po2jTbBq3 zxc1la_h8ywr(8Xgn<7F@(z~tV1GW}sIc6wagKw|U1q&jZ%1l5?O0uf%rTa% zRF$94ZGO_aH3HeQ2}u5PWtcWW=bh2VT#QzCim1`Kmm6eGDaYS!>^OTbE9xtYc;lMY z^;qM2s+*;um*dqT!)KVLH{|K!5zmtCYI8k-^x>p(4-ode>@==TiT7& zYU0wr23}}$4j2~>URzukUyp`U4T}tJU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xFGp19r>V+k7|4GQil`GY0x-`Sk6^f++};>1)AP z_eM3EM-X#n;BvdNv@FVU&~BhDSRdd36^(B6(^^EVa{AxY-#7;DcmM0A02%Hor~k6O z0EXj~8aBqjXfvHa77#_N5H&}e@Pyt4`kQQ5AZNR-XG`2~v@IKVu3GPe*e4dkh@kTP z>4msFmo%u}`ASuNT?@o6C|i6eqaGiNYz1(`Qs5Y%a#_|NOu7M!bCiJJVRV_~n&Nc> zLQL;;D$w8eA1Xfotx8o;%E7W;IxCVk70*BZeE$_Nt%Sf;TcGJ^Y8npU*1(pi&5PpV z6DTuj_gRi;!kVcuuz6P<9V!(RKKz|v1dS%XTvfCg`c$oeVBojY@RehGBkK|Dkvxy= zd%N)&XvzpMa`v>?U5xt=MrUgznMj7K@bB8b@kA)Fs4=97YUdjP&2?s!5jB{&-z$(2 zfX*jdA-P6SpgU;Q?>ZjtZe0)2+S6`FfJX-EV-A0KjNf1Eb3g+;*H`A_%{#*im_re@tmaj)*9+ITMf&>C0drS4#qqSSWIw#I}}ZXb)=$qK}H zhl5D($5S~RONb9zG}DoQ-y2-F&tkq9FEc1OMB5UJqy5hQoT#(6_oz^Kdnw|$4S2i{ zFn#dl3AS8b`ygZJ5k)=V+R48?i2p3`g#E9*!pF6q|CjEX|BY_r|M`di&9?0SS*ZV; z7OLPPmj!U^0MhY&0shaE?BfaSp9cIBITVG!H5(Ddc9CEI=Z*5exOc(-4D$b`P4Yj| z{2yul`#Y2Tf6|AyG%)(opBt0>MKNb|H~owL6o7ety+3Xp{&Djc@Za~(9p5D7|Npm@ YoFAY0!2f!J^>{w&PqbBFN-y63KNq%|&;S4c literal 0 HcmV?d00001 diff --git a/docker_bash.sh b/docker_bash.sh new file mode 100755 index 0000000..316fb1d --- /dev/null +++ b/docker_bash.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +CONTAINER=$(docker ps | tail -n +2 | rofi -dmenu -p 'Select container' | cut -d ' ' -f 1) + +if [[ -z "$CONTAINER" ]]; then + echo 'Cancel' +else + rofi-sensible-terminal -e "docker exec -ti $CONTAINER /bin/bash" & +fi