容器内需要启动systemctl服务

docker run -tid --name test --privileged=true ubuntu:18.04 /sbin/init

posted @ 2019-12-02 16:30  天梯小蔡  阅读(302)  评论(0编辑  收藏  举报