文章分类 -  docker

摘要:国内安装debian,当然要用国内的源,优点只有一个:速度快。国内的源比较多,下面就把更改源的方法说一下。 登录到debian 10,如果是root用户,直接输入命令,如果是非root用户,需要在命令前面加上sudo。 一,先备份一下原始的源 mv /etc/apt/sources.list /et 阅读全文
posted @ 2021-11-03 14:21 叨叨的蜗牛 阅读(8171) 评论(0) 推荐(0) 编辑
摘要:[Error ] System.InvalidOperationException: Failed to deploy distro docker-desktop to C:\Users\designer\AppData\Local\Docker\wsl\distro: exit code: -1 阅读全文
posted @ 2021-09-07 09:19 叨叨的蜗牛 阅读(5380) 评论(1) 推荐(1) 编辑
摘要:docker的mysql镜像没有arm版本,解决方式:1.docker pull --platform linux/x86_64 mysql 2.docker pull mysql/mysql-server 阅读全文
posted @ 2021-07-10 14:04 叨叨的蜗牛 阅读(406) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/luoposhanchenpingan/p/10845222.html 准备环境: 1.三台机器 1.1 nfs服务器 ip地址:192.168.113.254 主机名:nfs 1.2 docker主机1 ip地址:192.168.113.11 阅读全文
posted @ 2021-03-09 11:19 叨叨的蜗牛 阅读(3627) 评论(0) 推荐(0) 编辑
摘要:yum install -y yum-utils && yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo && yum install docker-ce doc 阅读全文
posted @ 2021-03-05 10:35 叨叨的蜗牛 阅读(72) 评论(0) 推荐(0) 编辑
摘要:/bin/sh: docker-php-source: not found进入当前容器,发现docker-php-source文件存在但是也无法执行~发现docker-php-source文件的每行结尾都会有一个^M符号,这是因为 DOS下的编辑器和Linux编辑器对文件行末的回车符处理不一致, 对 阅读全文
posted @ 2021-02-05 22:11 叨叨的蜗牛 阅读(1447) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_24384579/article/details/86480522(docker-compose部署consul及使用) https://www.jianshu.com/p/3d074ed76a68(consul 支持多数据中心的服务发现与配置共享工 阅读全文
posted @ 2020-08-06 22:24 叨叨的蜗牛 阅读(2160) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/hellxz/p/jenkins_install_plugins_faster.html https://blog.csdn.net/weixin_40046357/article/details/104489497 阅读全文
posted @ 2020-07-20 15:11 叨叨的蜗牛 阅读(430) 评论(0) 推荐(0) 编辑
摘要:This is a stale endpoint case. Do you happen to have the error log when that container that was originally removed (which left the endpoint in this st 阅读全文
posted @ 2019-11-29 11:57 叨叨的蜗牛 阅读(245) 评论(0) 推荐(0) 编辑
摘要:#环境 centos7.4 , Docker version 17.12.0-cedocker volume创建、备份、nfs存储 #docker volume 数据存容器内,删容器即销毁全部数据要保留的数据(数据持久化),需存储在容器外docker volume是文件或目录,mount到docke 阅读全文
posted @ 2019-10-11 13:53 叨叨的蜗牛 阅读(8180) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/talkxin/article/details/83061973 阅读全文
posted @ 2019-09-16 15:53 叨叨的蜗牛 阅读(78) 评论(0) 推荐(0) 编辑
摘要:修改docker-compose.yml,增加一个配置tty:true 阅读全文
posted @ 2019-08-08 17:40 叨叨的蜗牛 阅读(2879) 评论(0) 推荐(1) 编辑
摘要:需要安装bcmath,pecl无法直接安装。 可以使用 docker-php-ext-install bcmath 直接安装。 参考链接:https://github.com/php-amqplib/php-amqplib/issues/436 阅读全文
posted @ 2019-08-01 09:29 叨叨的蜗牛 阅读(1198) 评论(0) 推荐(0) 编辑
摘要:记一次docker-compose启动php-cli+swoole,会退出的问题: 要加上tty:"true",开启虚拟终端。 爆栈原答案(https://stackoverflow.com/questions/37100358/docker-compose-exited-with-code-0): 阅读全文
posted @ 2019-07-31 18:24 叨叨的蜗牛 阅读(523) 评论(0) 推荐(0) 编辑
摘要:# 镜像容器运行后,在容器内安装 Composer wget https://github.com/composer/composer/releases/download/2.3.5/composer.phar chmod u+x composer.phar mv composer.phar /us 阅读全文
posted @ 2019-07-30 17:40 叨叨的蜗牛 阅读(600) 评论(0) 推荐(0) 编辑
摘要:当用docker -v挂载volume后,会出现Permission Denied的问题,这有时是因为SeLinux导致的。解决方法如下: 阅读全文
posted @ 2019-07-30 17:24 叨叨的蜗牛 阅读(2319) 评论(0) 推荐(0) 编辑
摘要:alpine没有make和gcc所以要自己安装,先把源改成国内阿里云的,自行百度,我的博客也有说明。 #(安装make) apk add make #(安装gcc等相关依赖) apk add gcc musl-dev g++ zlib-dev#(安装autoconf,phpize依赖) apk ad 阅读全文
posted @ 2019-07-26 11:32 叨叨的蜗牛 阅读(3071) 评论(1) 推荐(0) 编辑
摘要:使用阿里镜像 https://mirrors.aliyun.com sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories 使用科大镜像 http://mirrors.ustc.edu.cn sed - 阅读全文
posted @ 2019-07-26 11:27 叨叨的蜗牛 阅读(4551) 评论(0) 推荐(0) 编辑
摘要:docker 启动 web 示例报错如下: Error response from daemon: Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797 - 阅读全文
posted @ 2019-07-11 12:09 叨叨的蜗牛 阅读(407) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/lwb516/article/details/86553434 阅读全文
posted @ 2019-07-10 11:03 叨叨的蜗牛 阅读(656) 评论(0) 推荐(0) 编辑