Docker Server Re-Initialization
Jump to navigation
Jump to search
Internal
Overview
Docker state can be reset - for example in the case of re-initializing the external storage - by following the procedure below. This is necessary because the Docker server caches a "Base Device UUID" that does not match the signature of a re-initialized external storage.
Procedure
systemctl stop docker
If there is any content in /var/lib/docker/, it must be deleted. Files will be present if Docker has been used.
rm -rf /var/lib/docker/*
systemctl start docker