【问题标题】:What is the startup command for installing Alpine in docker?在docker中安装Alpine的启动命令是什么?
【发布时间】:2017-11-20 09:56:36
【问题描述】:
apk update && apk add docker

docker ps

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

启动docker需要什么命令?

【问题讨论】:

    标签: linux docker alpine


    【解决方案1】:

    你要先启动docker服务:

    rc-service docker start
    

    更多详情请见https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System

    【讨论】:

    • / # rc-service /bin/sh: rc-service: 未找到。我需要安装什么?
    • 您使用的是什么版本的 Alpine?
    • golang:1.9.2-alpine3.6
    • alpine:3.6 rc-service: 未找到。
    • shell / # rc-service docker start * WARNING: docker is already starting / # docker ps Cannot connect to the Docker daemon. Is the docker daemon running on this host? / #
    猜你喜欢
    • 2019-07-20
    • 1970-01-01
    • 1970-01-01
    • 2019-04-06
    • 2016-01-30
    • 2016-11-28
    • 2019-02-23
    • 2017-07-14
    • 2018-06-25
    相关资源
    最近更新 更多