Docker Server Re-Initialization: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | =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= | =Procedure= |
Latest revision as of 01:44, 24 May 2017
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