Help Center/ Cloud Container Engine/ FAQs/ Workload/ Others/ Why Is the Mount Point of a Docker Container in the Kunpeng Cluster Uninstalled?
Updated on 2024-07-04 GMT+08:00

Why Is the Mount Point of a Docker Container in the Kunpeng Cluster Uninstalled?

Symptom

The mount point of a Docker container in the Kunpeng cluster is uninstalled.

Possible Cause

If the Kunpeng cluster node runs EulerOS 2.8 and the MountFlags=shared field is configured in the Docker service file, the container mount point will be uninstalled due to the systemd feature.

Solution

Modify the Docker file, delete the MountFlags=shared field, and restart Docker.

  1. Log in to the node.
  2. Run the following command to delete the MountFlags=shared field from the configuration file and save the file:

    vi /usr/lib/systemd/system/docker.service

  3. Run the following command to restart Docker:

    systemctl restart docker