docker常见问题[乐乐独记]
docker compose
1、[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)
错误现象
ERROR: SSL error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)
解决方案:
执行命令 export COMPOSE_TLS_VERSION=TLSv1_2
再次去执行原有命令。
2、daemon is not running
错误提示: error during connect: Get
http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.35/images/json: open
//./pipe/docker_engine: The system cannot find the file specified. In
the default daemon configuration on Windows, the docker client must be
run elevated to connect. This error may also indicate that the docker
daemon is not running.
截图如下:
解决方案:
输入了 docker-machine env default
按下图操作,若无异常,则证明成功