apk update && apk add docker
docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
启动docker需要什么命令?
最佳答案
你必须先启动docker服务:
rc-service docker start
参见 https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System了解更多详情。
关于linux - docker中安装Alpine的启动命令是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47389256/