我正在运行带有 docker-compose 1.25.x 和 docker 1.13.1 的 RHEL 7.3 服务器
将所有文件放入名为 的目录后Volume
,我按照产品编辑器命令的指示运行 docker-compose :
[root@xxxxxxxxxx etc]# cd /Volume/ ; docker-compose up -d bpcapp
Starting volume_bpcapp_1 ... error
ERROR: for volume_bpcapp_1 Cannot start service bpcapp: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""
ERROR: for bpcapp Cannot start service bpcapp: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""
ERROR: Encountered errors while bringing up the project.
[root@xxxxxxxxxx Volume]#
答案1
最后是docker-compose版本问题,降级到1.22解决了。