-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running scratchmnt=$(buildah mount $newcontainer) in intro tutorial fails #2833
Comments
The steps are written with the "#" sign indicating that the commands are being run as root. |
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Added a PR to make this clearer. |
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Feb 10, 2021
Users have gotten confused when attempting the introduction turturial in rootless mode. Explain that they have to `buildah unshare` before mounting the image. Fixes: containers#2833 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Steps to reproduce the issue:
1.Follow steps in [intro tutorial] (https://github.com/containers/buildah/blob/master/docs/tutorials/01-intro.md) until this step
2. scratchmnt=$(buildah mount $newcontainer)
Describe the results you received:
cannot mount using driver overlay in rootless mode. You need to run it in a
buildah unshare
sessionDescribe the results you expected:
For the mount to be created properly -
Either alter the instructions accordingly for the unshare command, or refer to https://github.com/containers/buildah/blob/master/docs/buildah-mount.md
Output of
rpm -q buildah
orapt list buildah
:buildah-1.15.1-2.module+el8.3.0+8221+97165c3f.x86_64
NAME="Red Hat Enterprise Linux"
VERSION="8.3 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.3:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.3"
Red Hat Enterprise Linux release 8.3 (Ootpa)
Red Hat Enterprise Linux release 8.3 (Ootpa)
Linux founders.oakridge 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Fri Oct 16 13:36:46 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: