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

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_namespaces_unshare_mount_bind_shared [2025/10/05 02:17] Jean-Baptistetech:notes_namespaces_unshare_mount_bind_shared [2025/12/12 14:45] (Version actuelle) Jean-Baptiste
Ligne 5: Ligne 5:
  
 Voir : Voir :
 +  * 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 13: Ligne 14:
   * https://connect.ed-diamond.com/GNU-Linux-Magazine/glmf-247/a-la-decouverte-des-namespaces-mount-et-uts   * 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://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.1759623444.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki