Skip to content

Commit

Permalink
complex hook
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Oct 3, 2017
1 parent a0c4725 commit 03fa3c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion specs.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ entrypoints:
- "80/tcp"
privileged: "1"
hook:
after_start: "ls -al /tmp/host"
after_start:
- "ls -al /"
- "env"
before_stop:
- "ls -al /tmp"
- "pwd"
force: false
volumes:
- "/tmp:/tmp/host"

0 comments on commit 03fa3c3

Please sign in to comment.