Docker Server Runtime
Jump to navigation
Jump to search
Check if Docker is running:
- systemctl is-active docker
If Docker has not yet been started on the host, enable and start the service:
- systemctl enable docker
- systemctl start docker
If Docker is already running, re-initialize Docker:
This will destroy any containers or images currently on the host.
- systemctl stop docker
- rm -rf /var/lib/docker/*
- systemctl restart docker
If there is any content in /var/lib/docker/, it must be deleted. Files will be present if Docker has been used prior to the installation of OpenShift Container Platform.