{"id":1176,"date":"2024-07-22T20:45:08","date_gmt":"2024-07-22T20:45:08","guid":{"rendered":"https:\/\/dockerpros.com\/?post_type=glossary&#038;p=1176"},"modified":"2024-07-22T20:51:10","modified_gmt":"2024-07-22T20:51:10","slug":"docker-aufs","status":"publish","type":"glossary","link":"https:\/\/dockerpros.com\/fr\/wiki\/docker-aufs\/","title":{"rendered":"Docker AUFS"},"content":{"rendered":"<h1>Comprendre Docker AUFS : Une exploration approfondie<\/h1>\n<h2>D\u00e9finition d'AUFS<\/h2>\n<p>Advanced Multi-Layered Unification Filesystem (AUFS) est un syst\u00e8me de fichiers sophistiqu\u00e9 qui permet la cr\u00e9ation d'une architecture de syst\u00e8me de fichiers en couches, ce qui est essentiel pour la capacit\u00e9 de Docker \u00e0 g\u00e9rer <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> images efficacement. En prenant en charge le concept de calques, AUFS permet la <span class=\"glossaryai-tooltip glossary-term-666\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-engine\/\" target=\"_blank\">Moteur Docker<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Docker Engine est une technologie de conteneurisation open source qui permet aux d\u00e9veloppeurs de cr\u00e9er, d\u00e9ployer et g\u00e9rer des applications au sein d'environnements l\u00e9gers et isol\u00e9s appel\u00e9s conteneurs.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-engine\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> to build, share, and manage <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> images with minimal disk usage and improved performance, making it a pivotal component in the Docker ecosystem.<\/p>\n<h2>Introduction to Copy-on-Write Mechanism<\/h2>\n<p>At the core of AUFS is the Copy-on-Write (CoW) mechanism. This approach allows for the efficient storage of multiple versions of files and directories without duplicating data. When a <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> is created from an <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>, AUFS cr\u00e9e une nouvelle couche au-dessus de l'original <span class=\"glossaryai-tooltip glossary-term-739\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image-layers\/\" target=\"_blank\">couches d'image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Les calques sont des composants fondamentaux dans les logiciels de conception et d'\u00e9dition graphique, permettant une manipulation non destructive des \u00e9l\u00e9ments. Chaque calque peut contenir diff\u00e9rentes images, effets ou r\u00e9glages, offrant un contr\u00f4le pr\u00e9cis sur la composition et les effets visuels.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image-layers\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>. Any changes made within the <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> (file modifications, deletions, or additions) occur in this new layer, while the underlying layers remain intact and unaltered.<\/p>\n<p>This is particularly useful in scenarios where multiple containers share the same base <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>. Instead of duplicating the entire <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> for each <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>, AUFS allows them to share the unchanged layers, preserving disk space and enhancing performance through reduced read times.<\/p>\n<h2>Empilement dans les images Docker<\/h2>\n<p>Docker images are composed of multiple layers, each representing a set of filesystem changes. AUFS manages these layers seamlessly. When you build a Docker <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> with multiple commands, each command creates a new layer. For example:<\/p>\n<pre><code class=\"language-Dockerfile\">FROM ubuntu:20.04\n<span class=\"glossaryai-tooltip glossary-term-672\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\" target=\"_blank\">RUN<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">\"RUN\" refers to a command in various programming languages and operating systems to execute a specified program or script. It initiates processes, providing a controlled environment for task execution.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> apt-get update\n<span class=\"glossaryai-tooltip glossary-term-672\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\" target=\"_blank\">RUN<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">\"RUN\" refers to a command in various programming languages and operating systems to execute a specified program or script. It initiates processes, providing a controlled environment for task execution.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> apt-get install -y python3<\/code><\/pre>\n<p>In this case, the base Ubuntu <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> is the first layer, while the results of the <code>apt-get update<\/code> et le <code>apt-get install<\/code> commands create subsequent layers. AUFS allocates these layers for efficient access, allowing Docker to pull only the layers that are necessary for creating a specific <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>.<\/p>\n<h2>Advantages of Using AUFS<\/h2>\n<h3>Optimisation de l'utilisation du stockage<\/h3>\n<p>L'architecture en couches d'AUFS conduit \u00e0 une efficacit\u00e9 de stockage significative. \u00c9tant donn\u00e9 que les couches non modifi\u00e9es sont partag\u00e9es entre diff\u00e9rents conteneurs, l'empreinte de stockage globale est minimis\u00e9e. Cela est particuli\u00e8rement b\u00e9n\u00e9fique dans les environnements o\u00f9 plusieurs conteneurs sont d\u00e9ploy\u00e9s sur la base d'images similaires, comme dans les architectures de microservices.<\/p>\n<h3>Distribution rapide d'images<\/h3>\n<p>When distributing Docker images via a <span class=\"glossaryai-tooltip glossary-term-658\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/registry\/\" target=\"_blank\">registry<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Un registre est une base de donn\u00e9es centralis\u00e9e qui stocke des informations sur diff\u00e9rentes entit\u00e9s, telles que des installations logicielles, des configurations syst\u00e8me ou des donn\u00e9es utilisateur. Il constitue un composant essentiel pour la gestion et la configuration du syst\u00e8me.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/registry\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>, AUFS enhances speed and efficiency. Since only the layers that differ from the base <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> need to be transferred, AUFS reduces the amount of data sent over the <span class=\"glossaryai-tooltip glossary-term-661\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/network\/\" target=\"_blank\">r\u00e9seau<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">A network, in computing, refers to a collection of interconnected devices that communicate and share resources. It enables data exchange, facilitates collaboration, and enhances operational efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/network\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>. Cela facilite et acc\u00e9l\u00e8re le d\u00e9ploiement d'applications dans diff\u00e9rents environnements.<\/p>\n<h3>Simplified Image Management<\/h3>\n<p>AUFS simplifies <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management by providing a straightforward mechanism for <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> creation and modification. Developers can focus on building applications without worrying about the underlying storage complexities. The CoW model allows for rapid prototyping and testing, as changes can be easily made in new layers without affecting the original <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>.<\/p>\n<h2>Limites d'AUFS<\/h2>\n<h3>Compatibility Issues<\/h3>\n<p>One of the significant limitations of AUFS is its compatibility. While AUFS is a powerful filesystem, it is not supported natively on all Linux distributions. This can lead to challenges when setting up Docker environments on systems that do not support AUFS. Alternatives like OverlayFS, which is supported by contemporary kernels, may be favored due to their wide compatibility.<\/p>\n<h3>Surcharges de performance<\/h3>\n<p>Bien qu'AUFS soit efficace pour g\u00e9rer les couches, il peut introduire des surcharges de performance dans certains sc\u00e9narios. Le syst\u00e8me de fichiers doit g\u00e9rer plusieurs couches de donn\u00e9es, ce qui pourrait affecter les op\u00e9rations d'E\/S, en particulier dans les environnements \u00e0 forte charge. Bien que cela ne soit g\u00e9n\u00e9ralement pas un probl\u00e8me pour la plupart des cas d'utilisation, il est crucial pour les applications sensibles aux performances de prendre en compte cet inconv\u00e9nient potentiel.<\/p>\n<h2>AUFS vs. Autres Pilotes de Stockage<\/h2>\n<h3>OverlayFS<\/h3>\n<p>OverlayFS est une alternative moderne \u00e0 AUFS, introduite dans le noyau Linux 3.18. Elle offre des fonctionnalit\u00e9s similaires mais avec moins de d\u00e9pendances du noyau et de meilleures performances dans certains cas d'utilisation. OverlayFS est maintenant le pilote de stockage par d\u00e9faut pour Docker sur de nombreux syst\u00e8mes, en particulier ceux ex\u00e9cutant des versions r\u00e9centes de Linux.<\/p>\n<h3>Btrfs<\/h3>\n<p>Btrfs is another advanced filesystem supported by Docker. It provides robust features such as snapshots, subvolumes, and built-in RAID capabilities. While Btrfs offers more advanced storage management features than AUFS, it may introduce additional complexity in configuration and management.<\/p>\n<h3>ZFS<\/h3>\n<p>ZFS est un syst\u00e8me de fichiers hautes performances qui prend \u00e9galement en charge des fonctionnalit\u00e9s avanc\u00e9es comme les instantan\u00e9s, la r\u00e9plication et la v\u00e9rification de l'int\u00e9grit\u00e9 des donn\u00e9es. \u00c0 l'instar de Btrfs, ZFS est plus complexe \u00e0 g\u00e9rer compar\u00e9 \u00e0 AUFS, ce qui le rend plus adapt\u00e9 aux environnements n\u00e9cessitant une haute int\u00e9grit\u00e9 des donn\u00e9es et des performances plut\u00f4t qu'\u00e0 la simplicit\u00e9.<\/p>\n<h3>Tableau comparatif<\/h3>\n<table>\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>AUFS<\/th>\n<th>OverlayFS<\/th>\n<th>Btrfs<\/th>\n<th>ZFS<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Layering<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<\/tr>\n<tr>\n<td>Copy-on-Write<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<\/tr>\n<tr>\n<td>Complexity<\/td>\n<td>Low<\/td>\n<td>Low<\/td>\n<td>Medium<\/td>\n<td>Haut<\/td>\n<\/tr>\n<tr>\n<td>Support Syst\u00e8me<\/td>\n<td>SARL<\/td>\n<td>Wide<\/td>\n<td>SARL<\/td>\n<td>SARL<\/td>\n<\/tr>\n<tr>\n<td>Performance<\/td>\n<td>Mod\u00e9r\u00e9<\/td>\n<td>Haut<\/td>\n<td>Haut<\/td>\n<td>Very High<\/td>\n<\/tr>\n<tr>\n<td>Fonctionnalit\u00e9s avanc\u00e9es<\/td>\n<td>No<\/td>\n<td>No<\/td>\n<td>Oui<\/td>\n<td>Oui<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Configuration d'AUFS avec Docker<\/h2>\n<p>To use AUFS with Docker, you need to have a compatible Linux kernel, typically 3.2 or later. Here are the steps to set up Docker with AUFS:<\/p>\n<h3>1. Installez Docker<\/h3>\n<p>Tout d'abord, installez Docker sur votre syst\u00e8me Linux. Pour les syst\u00e8mes bas\u00e9s sur Debian, vous pouvez le faire avec :<\/p>\n<pre><code class=\"language-bash\">sudo apt-get update\nsudo apt-get install -y docker.io<\/code><\/pre>\n<p>Pour les syst\u00e8mes bas\u00e9s sur Red Hat, utilisez :<\/p>\n<pre><code class=\"language-bash\">sudo yum install -y docker<\/code><\/pre>\n<h3>2. Configurez Docker pour utiliser AUFS<\/h3>\n<p>Pour configurer Docker pour utiliser AUFS, vous devrez peut-\u00eatre modifier le fichier de configuration de Docker <span class=\"glossaryai-tooltip glossary-term-667\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\" target=\"_blank\">d\u00e9mon<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Un d\u00e9mon est un processus d'arri\u00e8re-plan en informatique qui s'ex\u00e9cute de mani\u00e8re autonome, effectuant des t\u00e2ches sans intervention de l'utilisateur. Il g\u00e8re g\u00e9n\u00e9ralement des fonctions au niveau du syst\u00e8me ou de l'application, am\u00e9liorant ainsi l'efficacit\u00e9.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> configuration file. You can create or edit the <code>\/etc\/docker\/daemon.json<\/code> fichier et sp\u00e9cifiez le pilote de stockage :<\/p>\n<pre><code class=\"language-json\">{\n  \"storage-driver\": \"aufs\"\n}<\/code><\/pre>\n<h3>3. Restart Docker<\/h3>\n<p>After making the changes, restart the <span class=\"glossaryai-tooltip glossary-term-692\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-service\/\" target=\"_blank\">service Docker<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Docker Service est un composant cl\u00e9 de Docker Swarm, permettant le d\u00e9ploiement et la gestion d'applications conteneuris\u00e9es sur un cluster de machines. Il g\u00e8re automatiquement l'\u00e9quilibrage de charge, la mise \u00e0 l'\u00e9chelle et la d\u00e9couverte des services.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-service\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> to apply the new configuration:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart docker<\/code><\/pre>\n<h3>4. Verify the Configuration<\/h3>\n<p>To verify that AUFS is being used, <span class=\"glossaryai-tooltip glossary-term-672\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\" target=\"_blank\">run<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">\"RUN\" refers to a command in various programming languages and operating systems to execute a specified program or script. It initiates processes, providing a controlled environment for task execution.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> the following command:<\/p>\n<pre><code class=\"language-bash\">docker info | grep \"Storage Driver\"<\/code><\/pre>\n<p>Vous devriez voir <code>Storage Driver: aufs<\/code> dans la sortie.<\/p>\n<h2>Meilleures pratiques pour l'utilisation d'AUFS<\/h2>\n<p>Lors de l'utilisation d'AUFS dans votre environnement Docker, tenez compte des meilleures pratiques suivantes :<\/p>\n<h3>1. Limiter la complexit\u00e9 des couches<\/h3>\n<p>Limitez le nombre de couches dans vos images Docker au minimum. Chaque commande dans un <span class=\"glossaryai-tooltip glossary-term-652\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/dockerfile\/\" target=\"_blank\">Dockerfile<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">A Dockerfile is a script containing a series of instructions to automate the creation of Docker images. It specifies the base image, application dependencies, and configuration, facilitating consistent deployment across environments.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/dockerfile\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> cr\u00e9e une nouvelle couche, ce qui peut entra\u00eener des images gonfl\u00e9es. Combinez les commandes lorsque cela est possible pour r\u00e9duire les couches inutiles.<\/p>\n<h3>2. Utilisez des fichiers .dockerignore<\/h3>\n<p>utiliser <code>.dockerignore<\/code> files to exclude unnecessary files and directories from being added to your images. This not only helps in reducing <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Une image est une repr\u00e9sentation visuelle d'un objet ou d'une sc\u00e8ne, g\u00e9n\u00e9ralement compos\u00e9e de pixels dans les formats num\u00e9riques. Elle peut transmettre des informations, susciter des \u00e9motions et faciliter la communication \u00e0 travers diff\u00e9rents m\u00e9dias.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> size but also improves build times.<\/p>\n<h3>3. Surveiller les performances<\/h3>\n<p>Surveillez r\u00e9guli\u00e8rement les performances de vos conteneurs Docker et du syst\u00e8me de fichiers AUFS sous-jacent, en particulier dans les environnements de production. Des outils tels que <code>iostat<\/code> and <code>iotop<\/code> peut vous aider \u00e0 \u00e9valuer les indicateurs de performance.<\/p>\n<h3>4. Optimiser les op\u00e9rations de lecture\/\u00e9criture<\/h3>\n<p>Since AUFS has a CoW mechanism, ensure that your application performs read-heavy operations instead of write-heavy operations to enhance performance. This is crucial in ensuring that your containers operate efficiently.<\/p>\n<h2>Conclusion<\/h2>\n<p>AUFS has played a significant role in shaping how Docker manages <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> images through its advanced layering and CoW capabilities. While it has limitations and is overshadowed by newer storage drivers like OverlayFS in many aspects, its historical significance and unique features cannot be overlooked.<\/p>\n<p>Understanding the fundamentals of AUFS gives developers and system administrators better insights into Docker\u2019s storage management. By leveraging its advantages and adhering to best practices, you can optimize your Docker deployment for efficiency and performance.<\/p>\n<p>Alors que l'\u00e9cosyst\u00e8me Docker continue d'\u00e9voluer, il est essentiel de se tenir inform\u00e9 des d\u00e9veloppements des technologies de stockage et d'envisager comment elles peuvent le mieux servir vos applications. Que vous choisissiez AUFS ou que vous exploriez des alternatives, une solide compr\u00e9hension de ces technologies vous permettra de construire et de g\u00e9rer des conteneurs plus efficacement dans un environnement dynamique.<\/p>","protected":false},"excerpt":{"rendered":"<p>Docker AUFS is a union filesystem that allows multiple layers in <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> images, permettant un stockage et une gestion efficaces. Elle facilite les op\u00e9rations du syst\u00e8me de fichiers en fusionnant des r\u00e9pertoires, am\u00e9liorant ainsi la performance et la flexibilit\u00e9.<\/p>","protected":false},"author":1,"featured_media":1669,"parent":0,"template":"","glossary-cat":[],"class_list":["post-1176","glossary","type-glossary","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Docker AUFS - Dockerpros<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-aufs\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker AUFS - Dockerpros\" \/>\n<meta property=\"og:description\" content=\"Docker AUFS is a union filesystem that allows multiple layers in container images, enabling efficient storage and management. It facilitates file system operations by merging directories, enhancing performance and flexibility.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-aufs\/\" \/>\n<meta property=\"og:site_name\" content=\"Dockerpros\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-22T20:51:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/\",\"url\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/\",\"name\":\"Docker AUFS - Dockerpros\",\"isPartOf\":{\"@id\":\"https:\/\/dockerpros.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg\",\"datePublished\":\"2024-07-22T20:45:08+00:00\",\"dateModified\":\"2024-07-22T20:51:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage\",\"url\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg\",\"contentUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg\",\"width\":800,\"height\":600,\"caption\":\"docker-aufs-2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dockerpros.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary\",\"item\":\"https:\/\/dockerpros.com\/fr\/wiki\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker AUFS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dockerpros.com\/#website\",\"url\":\"https:\/\/dockerpros.com\/\",\"name\":\"Dockerpros\",\"description\":\"DockerPros \u2013 Your Ultimate Docker Resource Hub\",\"publisher\":{\"@id\":\"https:\/\/dockerpros.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dockerpros.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dockerpros.com\/#organization\",\"name\":\"Dockerpros\",\"url\":\"https:\/\/dockerpros.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png\",\"contentUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png\",\"width\":532,\"height\":114,\"caption\":\"Dockerpros\"},\"image\":{\"@id\":\"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker AUFS - Professionnels Docker","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dockerpros.com\/fr\/wiki\/docker-aufs\/","og_locale":"fr_FR","og_type":"article","og_title":"Docker AUFS - Dockerpros","og_description":"Docker AUFS is a union filesystem that allows multiple layers in container images, enabling efficient storage and management. It facilitates file system operations by merging directories, enhancing performance and flexibility.","og_url":"https:\/\/dockerpros.com\/fr\/wiki\/docker-aufs\/","og_site_name":"Dockerpros","article_modified_time":"2024-07-22T20:51:10+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/","url":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/","name":"Docker AUFS - Professionnels Docker","isPartOf":{"@id":"https:\/\/dockerpros.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage"},"image":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage"},"thumbnailUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg","datePublished":"2024-07-22T20:45:08+00:00","dateModified":"2024-07-22T20:51:10+00:00","breadcrumb":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dockerpros.com\/wiki\/docker-aufs\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#primaryimage","url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg","contentUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-aufs_1176.jpg","width":800,"height":600,"caption":"docker-aufs-2"},{"@type":"BreadcrumbList","@id":"https:\/\/dockerpros.com\/wiki\/docker-aufs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dockerpros.com\/"},{"@type":"ListItem","position":2,"name":"Glossary","item":"https:\/\/dockerpros.com\/fr\/wiki\/"},{"@type":"ListItem","position":3,"name":"Docker AUFS"}]},{"@type":"WebSite","@id":"https:\/\/dockerpros.com\/#website","url":"https:\/\/dockerpros.com\/","name":"Dockerpros","description":"DockerPros \u2013 Votre centre de ressources Docker incontournable","publisher":{"@id":"https:\/\/dockerpros.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dockerpros.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/dockerpros.com\/#organization","name":"Dockerpros","url":"https:\/\/dockerpros.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/","url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png","contentUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png","width":532,"height":114,"caption":"Dockerpros"},"image":{"@id":"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary\/1176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary\/1176\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/media\/1669"}],"wp:attachment":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/media?parent=1176"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary-cat?post=1176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}