1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

beam/examples/beamsh: add a few example dockerscripts

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes
2014-03-28 15:53:03 -07:00
parent bc22e5589e
commit e64b46fb78
3 changed files with 20 additions and 2 deletions

9
examples/beamsh/demo1.ds Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
devnull {
multiprint {
exec tail -f /var/log/system.log &
exec ls -l
exec ls ksdhfkjdshf jksdfhkjsdhf
}
}

View File

@@ -2,7 +2,7 @@
print {
trace {
emit hello
emit world
emit msg=hello
emit msg=world
}
}

9
examples/beamsh/logdemo.ds Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
trace {
log {
exec ls -l
exec ls /tmp/jhsdfkjhsdjkfhsdjkfhsdjkkhsdjkf
echo hello world
}
}