https://github.com/luffah/u_chroot_start
Container system for the hoboes and neet
https://github.com/luffah/u_chroot_start
containers gaming linux linux-gaming sandboxing
Last synced: 2 months ago
JSON representation
Container system for the hoboes and neet
- Host: GitHub
- URL: https://github.com/luffah/u_chroot_start
- Owner: luffah
- Created: 2021-07-01T00:25:52.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-01T01:13:46.000Z (about 5 years ago)
- Last Synced: 2025-04-04T18:14:59.886Z (about 1 year ago)
- Topics: containers, gaming, linux, linux-gaming, sandboxing
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
User start a chroot only for nesting app
========================================
This script can be used to run a nested system with rootfs.
It uses unshare, therefore, no root login is used.
The counterpart is that you can't login as another user.
Here an example usage ::
# chroot_start.sh ROOT [MOUNTS:] HOME CMDLINE
# chroot on ../distrib
# The following directories will be mounted
# ./home on /home/ali
# ./etc on /etc
# The HOME variable is set as /home/ali
# Finally, we run gvim from this directory
chroot_start.sh ../distrib home:/home/ali etc: /home/ali "gvim"
For what ?
----------
The aim is to play games using another linux distribution in a nested environnement.
You can use this script if you have a linux rootfs in userspace (e.g. an lxc unprivileged container) or with sudo on any rootfs.