docker
GoverChan
活在当下~
展开
-
docker访问宿主机127.0.0.1
mac和windows直接使用host.docker.internal替换127.0.0.1访问linux第一步:新建一个网桥docker network create -d bridge --subnet 192.168.0.0/24 --gateway 192.168.0.1 localNet第二步:使用192.168.0.1代替127.0.0.1访问原创 2021-11-30 15:00:46 · 6517 阅读 · 0 评论 -
docker compose yaml文件详解
Compose和Docker兼容性: Compose 文件格式有3个版本,分别为1, 2.x 和 3.x 目前主流的为 3.x 其支持 docker 1.13.0 及其以上的版本 常用参数: version # 指定 compose 文件的版本 services # 定义所有的 service 信息, services 下面的第一级别的 key 既是一个 service 的名称 build .转载 2021-09-15 15:56:14 · 8658 阅读 · 0 评论 -
FluentTerminal 命令行工具配置
Import-Module DirColorsImport-Module posh-gitImport-Module oh-my-poshSet-Theme PowerLine# 根据历史记录预测补全Import-Module PSReadLineSet-PSReadLineOption -PredictionSource HistorySet-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackwardSet-PSR.原创 2020-09-24 10:36:46 · 1474 阅读 · 0 评论 -
docker中国镜像源配置
{ "registry-mirrors": [ "https://kfwkfulq.mirror.aliyuncs.com", "https://2lqq34jg.mirror.aliyuncs.com", "https://pee6w651.mirror.aliyuncs.com", "https://registry.docker-cn.com", "http://hub-mirror.c.163.com" ], "insecure-registrie...原创 2020-09-22 17:58:23 · 267 阅读 · 0 评论 -
window安装Docker踩坑
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/version: 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. Thi.原创 2020-09-22 15:34:16 · 2720 阅读 · 0 评论