Skip to content
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

[CI:DOCS] Fix tutorial for rootless mode #4629

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

Steffen1989
Copy link
Contributor

What type of PR is this?

/kind documentation

What this PR does / why we need it:

Before executing buildah unshare for mounting a container from scratch as a non-root user, we need to export the variable newcontainer so that it is known inside the modified user namespace.

I was following along this tutorial myself (in rootless mode) and stumbled upon this issue.
I hope this helps the next person to read it.

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added the kind/documentation Categorizes issue or PR as related to documentation. label Feb 27, 2023
@rhatdan
Copy link
Member

rhatdan commented Feb 28, 2023

Thanks @Steffen1989
LGTM
You need to sign your commits.

git commit -a --amend -s
git push --force

@rhatdan rhatdan changed the title Fix tutorial for rootless mode [CI:DOCS] Fix tutorial for rootless mode Feb 28, 2023
Before executing `buildah unshare` for mounting a container from scratch
as a non-root user, we need to export the variable `newcontainer` so
that it is known inside the modified user namespace.

Signed-off-by: Steffen Straub <22006250+Steffen1989@users.noreply.github.com>
@Steffen1989
Copy link
Contributor Author

Sorry about that.

I mistook signing the commit "-S" with signing it off "-s" when reading the guide for contributing.

@TomSweeneyRedHat
Copy link
Member

LGTM

@rhatdan
Copy link
Member

rhatdan commented Mar 2, 2023

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 2, 2023
@rhatdan rhatdan merged commit 7633042 into containers:main Mar 2, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 2, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhatdan, Steffen1989

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Mar 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/documentation Categorizes issue or PR as related to documentation. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants