Commit Graph

15 Commits

Author SHA1 Message Date
Tuan Anh Tran 13187f276f fix: non-portable shebang #2812
Signed-off-by: Tuan Anh Tran <me@tuananh.org>
2020-11-21 00:52:02 +07:00
Boaz Shuster b163abaa66 fix lighttpd example
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
2020-05-25 22:46:10 +03:00
Sascha Grunert b288b7a3d9 Update shebangs to take env into consideration
Some operating systems don’t have `bash` in `/bin`, so we should take the
`$PATH` into consideration for searching it.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>

Closes: #1804
Approved by: TomSweeneyRedHat
2019-08-20 11:26:57 +00:00
Pavel Raiskup cfcfc46c8a escape shell variables in README example
Signed-off-by: Pavel Raiskup <praiskup@redhat.com>

Closes: #1413
Approved by: TomSweeneyRedHat
2019-03-18 13:12:22 +00:00
SHooZ 555919bb14 Fix wrong order of parameters
Signed-off-by: SHooZ <SHooZ@ex.ua>

Closes: #513
Approved by: rhatdan
2018-03-12 13:42:43 +00:00
Vincent Batts f17bfb937f
examples: adding a basic lighttpd example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-09-18 08:43:52 -04:00
Nalin Dahyabhai 5458250462 Update the example commit target to skip transport
Update the target name that we use when committing an image in the
example script to not mention the local storage transport, since the
default is to use it anyway.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #163
Approved by: rhatdan
2017-06-26 15:56:18 +00:00
Nalin Dahyabhai 53f12844b2 Accept commit targets which are just store refs
Accept commit target names which don't include a transport name by
checking if they parse as valid containers-storage references after they
fail to parse as a general reference.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #49
Approved by: rhatdan
2017-03-28 19:33:07 +00:00
Nalin Dahyabhai fc27a56f12 Rename "list"/"delete" to "containers"/"rm"
Rename the "list" and "delete" commands to "containers" and "rm",
respectively, and add "images" and "rmi" counterparts for them.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #32
Approved by: rhatdan
2017-03-28 17:59:09 +00:00
Nalin Dahyabhai 75c13530ac Update example scripts to use the new CLI syntax
Update the scripts in examples/ to adapt to changes in the CLI.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #48
Approved by: rhatdan
2017-03-28 16:22:28 +00:00
Daniel J Walsh c0b38746d3 Remove all --name and --root options
Also fix up buildah commit to require name and image
2017-03-24 14:05:25 -04:00
Nalin Dahyabhai b9b4335173 Update the copy example script
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-07 10:41:52 -05:00
Nalin Dahyabhai cd27adf0b4 Add another example script
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-06 20:32:55 -05:00
Nalin Dahyabhai 27a97cdc3d Make the example script exit on error
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-02-10 15:00:09 -05:00
Nalin Dahyabhai 18c3ab42ab Add a script for use in a lightning talk
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 11:27:34 +01:00