Skip to content

Commit da36c9e

Browse files
authored
Merge pull request #82 from thebsdbox/alias
Adds an alias to make debugging easier!
2 parents 5fc37b6 + bfc3b4d commit da36c9e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

hook.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ services:
6666
files:
6767
- path: etc/docker/daemon.json
6868
contents: '{"debug": true}'
69+
- path: etc/profile.d/local.sh
70+
contents: |
71+
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker docker'
72+
mode: "0644"
6973
trust:
7074
org:
7175
- linuxkit

hook_debug.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ files:
6767
source: ~/.ssh/id_rsa.pub
6868
mode: "0600"
6969
optional: true
70+
- path: etc/profile.d/local.sh
71+
contents: |
72+
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker docker'
73+
mode: "0644"
7074
trust:
7175
org:
7276
- linuxkit

0 commit comments

Comments
 (0)