Document dind storage driver reset after disk-store switch
This commit is contained in:
1 parent
6f19f86522
commit
239a3b2057
1 file changed
+27
@@ -224,6 +224,33 @@ disk-backed volume, and image pulls with file capabilities work. The old
|
|||||||
`--no-overlay` mode is retained only for compatibility and is not recommended
|
`--no-overlay` mode is retained only for compatibility and is not recommended
|
||||||
for runner images containing files such as `/usr/bin/ping`.
|
for runner images containing files such as `/usr/bin/ping`.
|
||||||
|
|
||||||
|
If you switch an existing deployment from `--no-overlay` to `--disk-store`,
|
||||||
|
Docker may keep using the previous `overlay2` storage driver because
|
||||||
|
`./dind-data` already contains initialized state. In that case `docker info`
|
||||||
|
inside dind still shows:
|
||||||
|
|
||||||
|
```text
|
||||||
|
Storage Driver: overlay2
|
||||||
|
```
|
||||||
|
|
||||||
|
and the xattr failure continues. Reset the dind store once:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose stop dind
|
||||||
|
mv dind-data dind-data.old
|
||||||
|
mkdir dind-data
|
||||||
|
docker compose up -d dind
|
||||||
|
docker exec dind docker info | grep 'Storage Driver'
|
||||||
|
```
|
||||||
|
|
||||||
|
Expected after a clean start:
|
||||||
|
|
||||||
|
```text
|
||||||
|
Storage Driver: overlayfs
|
||||||
|
```
|
||||||
|
|
||||||
|
Cached images and builds in the old dind store are discarded by this reset.
|
||||||
|
|
||||||
## Networking details
|
## Networking details
|
||||||
|
|
||||||
- `dind` has no published Docker API port.
|
- `dind` has no published Docker API port.
|
||||||
|
|||||||
Reference in new issue
Block a user