System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
参考: docker 容器使用 systemctl 命令是报错
解决方法:
docker run -itd --privileged --name myCentos centos /usr/sbin/init
docker run -itd --name grpc2 --privileged=true -p 5678:22 -v /home/chengbo/grpc:/home ceasona250/python:v1_centos /usr/sbin/init docker exec -it grpc2 /bin/bash