Commit Graph

8 Commits

Author SHA1 Message Date
Nalin Dahyabhai b167073d54 docs: add --setopt "*.countme=false" to dnf examples
* Consistently use --releasever instead of --release in dnf examples
* Remove trailing whitespace
* Use --use-host-config --setopt "*.countme=false" when running dnf with
  an empty --installroot
* Use Fedora 42 instead of Fedora 30 in examples
* Block quote console examples in tutorials

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-06-10 14:16:36 -04:00
Aditya R 404852be4a
demo: use unshare for rootless invocations
Use `buildah unshare` to invoke `buildah mount` when demos are invoked
from rootless environments

* buildah_mult_stage: only unshare on needed steps
* buildah-scratch-demo: unshare entire script since it uses pkg managers
  commands which don't work well in rootless session without unshare.

[NO NEW TESTS NEEDED]

Signed-off-by: Aditya R <arajan@redhat.com>
2022-06-22 16:47:00 +05:30
Daniel J Walsh 59d3331a37
Bump fedora version from 28 to 30
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-09-05 08:47:13 -04: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
Matt Dorn 2da8755d53 add -t to podman run
add -t to `podman run` so when user executes this step, they get excited when they see the output of `runecho.sh`.

Signed-off-by: Matt Dorn <mdorn@redhat.com>

Closes: #1651
Approved by: rhatdan
2019-06-07 19:22:27 +00:00
Qi Wang 59da11d4b4 add buildah login/logout & fix authfile path
Fix the bug that buildah reads /var/run/containers.. as authentication file.(in readme files it should be /run/containers/uid).
Add `buildah login`, `buildah logout` to close #1329, enable to use buildah login before running buildah bud for multi-stage bud and avoiding using --creds flag.

Signed-off-by: Qi Wang <qiwan@redhat.com>

Closes: #1501
Approved by: rhatdan
2019-05-02 21:59:12 +00:00
pixdrift fa2ae6a239 Update buildah scratch demo to support el7
Signed-off-by: pixdrift <support@pixeldrift.net>

Closes: #679
Approved by: rhatdan
2018-05-14 20:47:21 +00:00
William Henry @ipbabble 2ea3e11d18 Added demo dir and a demo. chged distrorlease
Signed-off-by: William Henry @ipbabble <whenry@redhat.com>

Closes: #668
Approved by: TomSweeneyRedHat
2018-05-10 21:21:34 +00:00