Platform: Feiteng server + docker
Add parameters in docker run:
-v /sys/fs/cgroup:/sys/fs/cgroup
After docker exec into the container
chown -R mongodb:mongodb /var/lib/mongodb
Similar Posts:
- [Solved] OCI runtime exec failed……executable file not found in $PATH”: unknown
- “Failed to get D-Bus connection” appears when docker runs the command
- Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus
- [Solved] OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown
- Alibaba cloud ECS installation cadvisor error [How to Solve]
- [Solved] kuberlet Service Startup Error: “Failed to run kubelet” err=”failed to run Kubelet: misconfiguration: kubelet cgroup driver: \”systemd\” is different from docker cgroup driver: \”cgroupfs\””
- Record the problem that docker cannot be started once
- The docker container reports an error when using the systemctl command
- [Solved] docker info Check Error: WARNING: No swap limit support
- docker: Error response from daemon: Conflict. The container name “/xx” is already in use