Skip to main content

Questions tagged [unshare]

0 votes
1 answer
87 views

I am trying to comprehend some man7.org documentation about the User Namespace and the /bin/unshare command. I started by reading this page: https://man7.org/linux/man-pages/man7/user_namespaces.7....
learningtech's user avatar
0 votes
1 answer
67 views

I'm aware of unshare -m creates a new mount namespace moving the process executing it into the new mount namespace being created. The latter gets a copy of parent's mount namespace. Indeed look at the ...
CarloC's user avatar
  • 385
1 vote
0 answers
45 views

I'm developing a remote desktop/streaming program for linux. When a user logs in, they specify a program to launch, and the remote server launches that program as a new process. The server process ...
colinmarc's user avatar
2 votes
2 answers
2k views

I am following Container from scratch by Kevin Boone I have alpine mini root filesystem under /mnt/container/ I am a little puzzled about how the mount works with chroot and unshare involved. Without ...
Nagri's user avatar
  • 225
2 votes
2 answers
1k views

From everything I have read in the unshare and nsenter man pages, I should be able to bind-mount a directory to itself, mount --make-private the directory, and then use files within that directory to ...
KJ7LNW's user avatar
  • 535
0 votes
1 answer
556 views

How to login to a user namespace created by unshare -U from another terminal?
Franc's user avatar
  • 309
2 votes
1 answer
1k views

I am trying to setup 'rootless' containers by hand, with just unshare and mounting overlayfs. Currently, I can unpack a rootfs tarball, setup a /tmp and /proc mount, and pivot_root/chroot into it ...
Zameer Manji's user avatar
5 votes
1 answer
3k views

I have an app I run in a network namespace. This works well. I want to run the app multiple times, in different namespaces. For convenience, I want to bind mount the app's working directory to ...
sea chub's user avatar
  • 215

15 30 50 per page