Skip to content

Commit 1262a45

Browse files
authored
Merge pull request #4304 from thaJeztah/daemon_remove_deprecated_drivers
docs: remove uses of deprecated AuFS, legacy overlay storage drivers
2 parents 78efc98 + c61b565 commit 1262a45

3 files changed

Lines changed: 11 additions & 47 deletions

File tree

docs/deprecated.md

Lines changed: 9 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,12 @@ option was no longer used.
525525
**Deprecated in Release: v19.03**
526526
**Removed in Release: v24.0**
527527

528-
The `aufs` storage driver is deprecated in favor of `overlay2`, and will
529-
be removed in a future release. Users of the `aufs` storage driver are
530-
recommended to migrate to a different storage driver, such as `overlay2`, which
531-
is now the default storage driver.
528+
The `aufs` storage driver is deprecated in favor of `overlay2`, and has been
529+
removed in a Docker Engine v24.0. Users of the `aufs` storage driver must
530+
migrate to a different storage driver, such as `overlay2`, before upgrading
531+
to Docker Engine v24.0.
532532

533-
The `aufs` storage driver facilitates running Docker on distros that have no
533+
The `aufs` storage driver facilitated running Docker on distros that have no
534534
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
535535
a 3.14 kernel.
536536

@@ -539,58 +539,22 @@ is available to all supported distros (as they are either on kernel 4.x, or have
539539
support for multiple lowerdirs backported), there is no reason to continue
540540
maintenance of the `aufs` storage driver.
541541

542-
#### Disabled by default in v23.0
543-
544-
Docker already prevented deprecated storage drivers from being automatically
545-
selected on new installations, but continued to use these drivers when upgrading
546-
existing installations. Starting with the v23.0 release, the Docker Engine will
547-
fail to start if a deprecated storage driver is used (see [moby#43378](https://github.com/moby/moby/pull/43378):
548-
549-
```console
550-
failed to start daemon: error initializing graphdriver: prior storage driver
551-
aufs is deprecated and will be removed in a future release; update the the daemon
552-
configuration and explicitly choose this storage driver to continue using it;
553-
visit https://docs.docker.com/go/storage-driver/ for more information.
554-
```
555-
556-
To continue using the storage driver, update the daemon configuration to use
557-
explicitly use the given storage driver. Users are encouraged to migrate to
558-
different storage driver.
559-
560542
### Legacy overlay storage driver
561543

562544
**Deprecated in Release: v18.09**
563545
**Removed in Release: v24.0**
564546

565547
The `overlay` storage driver is deprecated in favor of the `overlay2` storage
566548
driver, which has all the benefits of `overlay`, without its limitations (excessive
567-
inode consumption). The legacy `overlay` storage driver will be removed in a future
568-
release. Users of the `overlay` storage driver should migrate to the `overlay2`
569-
storage driver.
549+
inode consumption). The legacy `overlay` storage driver has been removed in
550+
Docker Engine v24.0. Users of the `overlay` storage driver should migrate to the
551+
`overlay2` storage driver before upgrading to Docker Engine v24.0.
570552

571553
The legacy `overlay` storage driver allowed using overlayFS-backed filesystems
572554
on pre 4.x kernels. Now that all supported distributions are able to run `overlay2`
573555
(as they are either on kernel 4.x, or have support for multiple lowerdirs
574556
backported), there is no reason to keep maintaining the `overlay` storage driver.
575557

576-
#### Disabled by default in v23.0
577-
578-
Docker already prevented deprecated storage drivers from being automatically
579-
selected on new installations, but continued to use these drivers when upgrading
580-
existing installations. Starting with the v23.0 release, the Docker Engine will
581-
fail to start if a deprecated storage driver is used (see [moby#43378](https://github.com/moby/moby/pull/43378):
582-
583-
```console
584-
failed to start daemon: error initializing graphdriver: prior storage driver
585-
overlay is deprecated and will be removed in a future release; update the the daemon
586-
configuration and explicitly choose this storage driver to continue using it;
587-
visit https://docs.docker.com/go/storage-driver/ for more information.
588-
```
589-
590-
To continue using the storage driver, update the daemon configuration to use
591-
explicitly use the given storage driver. Users are encouraged to migrate to
592-
different storage driver.
593-
594558
### Device mapper storage driver
595559

596560
**Deprecated in Release: v18.09**
@@ -602,7 +566,7 @@ recommended to migrate to a different storage driver, such as `overlay2`, which
602566
is now the default storage driver.
603567

604568
The `devicemapper` storage driver facilitates running Docker on older (3.x) kernels
605-
that have no support for other storage drivers (such as overlay2, or AUFS).
569+
that have no support for other storage drivers (such as overlay2, or btrfs).
606570

607571
Now that support for `overlay2` is added to all supported distros (as they are
608572
either on kernel 4.x, or have support for multiple lowerdirs backported), there

docs/extend/plugins_graphdriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ advisory: experimental
2525

2626
Docker graph driver plugins enable admins to use an external/out-of-process
2727
graph driver for use with Docker engine. This is an alternative to using the
28-
built-in storage drivers, such as aufs/overlay/devicemapper/btrfs.
28+
built-in storage drivers, such as overlay2.
2929

3030
You need to install and enable the plugin and then restart the Docker daemon
3131
before using the plugin. See the following example for the correct ordering

docs/reference/commandline/dockerd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ $ docker -H tcp://127.0.0.1:2375 pull ubuntu
323323
### Daemon storage-driver
324324

325325
On Linux, the Docker daemon has support for several different image layer storage
326-
drivers: `aufs`, `devicemapper`, `btrfs`, `zfs`, `overlay`, `overlay2`, and `fuse-overlayfs`.
326+
drivers: `overlay2`, `fuse-overlayfs`, `btrfs`, `zfs`, and `devicemapper`.
327327

328328
`overlay2` is the preferred storage driver for all currently supported Linux distributions,
329329
and is selected by default. Unless users have a strong reason to prefer another storage driver,

0 commit comments

Comments
 (0)