Outils pour utilisateurs

Outils du site


tech:notes_namespaces_unshare_mount_bind_shared

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_namespaces_unshare_mount_bind_shared [2025/10/05 01:45] – créée Jean-Baptistetech:notes_namespaces_unshare_mount_bind_shared [2025/12/12 14:45] (Version actuelle) Jean-Baptiste
Ligne 5: Ligne 5:
  
 Voir : Voir :
-  * https://unix.stackexchange.com/questions/710971/how-do-you-get-the-child-pid-of-unshare-when-using-fork- for-nsenter-t-pid+  * https://www.baeldung.com/linux/bind-mounts
   * https://blog.stephane-robert.info/docs/admin-serveurs/linux/namespaces/   * https://blog.stephane-robert.info/docs/admin-serveurs/linux/namespaces/
   * https://github.com/docker/for-mac/issues/3431   * https://github.com/docker/for-mac/issues/3431
Ligne 11: Ligne 11:
   * https://unix.stackexchange.com/questions/710971/how-do-you-get-the-child-pid-of-unshare-when-using-fork-for-nsenter-t-pid   * https://unix.stackexchange.com/questions/710971/how-do-you-get-the-child-pid-of-unshare-when-using-fork-for-nsenter-t-pid
   * https://www.gabriel.urdhr.fr/2022/12/03/entering-podman-namespaces/   * https://www.gabriel.urdhr.fr/2022/12/03/entering-podman-namespaces/
 +  * https://unix.stackexchange.com/questions/710971/how-do-you-get-the-child-pid-of-unshare-when-using-fork-%20for-nsenter-t-pid
 +  * https://connect.ed-diamond.com/GNU-Linux-Magazine/glmf-247/a-la-decouverte-des-namespaces-mount-et-uts
 +  * https://superuser.com/questions/165116/mount-dev-proc-sys-in-a-chroot-environment
 +  * https://lwn.net/Articles/690679/
 +  * https://stackoverflow.com/questions/56254904/why-can-a-process-launched-with-unshare-m-affect-the-mounts-in-the-host
 +  * https://www.redhat.com/en/blog/mount-namespaces
 +  * https://people.kernel.org/brauner/mounting-into-mount-namespaces
 +  * https://unix.stackexchange.com/questions/594545/can-i-move-mount-to-other-mount-namespace
 +
 +
 +## Pb
 +
 +### Err WARN[0001] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
 +
 +~~~
 +$ podman pull docker.io/hadolint/hadolint
 +WARN[0001] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
 +~~~
 +
 +Solution
 +~~~bash
 +sudo mount --make-shared /
 +~~~
  
  
tech/notes_namespaces_unshare_mount_bind_shared.1759621546.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki