Skip to content

Commit 45831e9

Browse files
committed
yaml: Use the correct task name in aliases
I did not notice that the docker being referenced here before was for the docker service that was renamed hook-docker. This went by unnoticed since I was booting old versions of hook that did not have the local.sh file embedded. I finally figured out I had broken the aliases when I renamed the server after actually booting the hook images I built. Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
1 parent f460b1b commit 45831e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hook.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ services:
9494
files:
9595
- path: etc/profile.d/local.sh
9696
contents: |
97-
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id cmd docker docker'
98-
alias docker-shell='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker sh'
97+
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id cmd hook-docker docker'
98+
alias docker-shell='ctr -n services.linuxkit tasks exec --tty --exec-id shell hook-docker sh'
9999
mode: "0644"
100100

101101
#dbg - path: root/.ssh/authorized_keys

0 commit comments

Comments
 (0)