赞
踩
root@1733a8f48e41:# systemctl
System has not been booted with systemd as init system (PID 1). Can't operate.
重启一个docker,后台运行:
#: docker run -itd --privileged=true --name s3fd-v2 -p 8080:8080 03f6b13a5450 /sbin/init
然后运行exec进入docker:
docker exec -it s3fd-v2 /bin/bash
容器执行systemctl
参考文献:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。