Hide Forgot
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#configuring-docker-storage Section Number and Name: 3. Re-initialize Docker. Describe the issue: The guide assumes the user have run yum install docker. There's no content in /var/lib/docker and there's no need to delete it. This is only necessary if this is not a new install, and docker has been used before installing openshift. Suggestions for improvement: Remove the "rm" command. Since the installer actually enables and starts the docker daemon, there's really no need for the section. Suggest replacing the section with systemctl enable docker systemctl start docker if we need to ensure that docker is running/configured properly. Additional information:
Pull request created: https://github.com/openshift/openshift-docs/pull/1463 Please let me know if any edits are needed. Thanks!
The following is updated by some other work for OSE 3.1.1, which introduced Atomic Host as a supported OS, which would already have Docker installed and possibly running. It now differentiates from these scenarios. Please let us know if this satisfies the request. https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#configuring-docker-storage PR with the change: https://github.com/adellape/openshift-docs/commit/8184fdffcb25d1511e73a9fd1be72f5e21a526f3#diff-97beb7cd722dc66f9e694edf1a64440dL712
(In reply to Ashley Hardin from comment #3) > The following is updated by some other work for OSE 3.1.1, which introduced > Atomic Host as a supported OS, which would already have Docker installed and > possibly running. It now differentiates from these scenarios. Please let us > know if this satisfies the request. If the guide is to explain exactly what commands a user has to use, we still have this statement: "However, if Docker is already running, re-initialize Docker:" How does a user know that? The two commands prior to this comment will not state if docker was/is already running. It's also imprecise. The files will be there if Docker HAS been running at any time since install. Suggest adding "systemctl is-active docker" as the command to see if Docker is already running. Or simply state that if there is any content in "/var/lib/docker/* it has to be deleted and explain that files will be present if Docker has been used prior to the install of OpenShift. > > https://docs.openshift.com/enterprise/3.1/install_config/install/ > prerequisites.html#configuring-docker-storage > > PR with the change: > https://github.com/adellape/openshift-docs/commit/ > 8184fdffcb25d1511e73a9fd1be72f5e21a526f3#diff- > 97beb7cd722dc66f9e694edf1a64440dL712
Thanks, Peter. I made some edits per your comments. Please let me know if this satisfies your request: https://github.com/openshift/openshift-docs/pull/1513
Verified the PR#1513, the state is precise now, so move this bug to verified, If this does not satisfy peter's request, pls reopen it.
Commits pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/14468a7e71d6a9bdcd38fc095d9d373bcaab9980 Bug 1296333, added command to check if Docker is running https://github.com/openshift/openshift-docs/commit/1d5d349b3417d92a04d888643f4b857bc6082035 Merge pull request #1513 from ahardin-rh/reinitialize-docker Bug 1296333, added command to check if Docker is running
Content is published. https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#configuring-docker-storage https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/installation-and-configuration/#host-preparation
Works for me.