![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Docker
amadeus_liu2
这个作者很懒,什么都没留下…
展开
-
Docker复习: jar包打成docker
【代码】Docker复习: jar包打成docker。原创 2023-05-06 16:25:40 · 64 阅读 · 0 评论 -
Docker:定制化自己的MySQL容器
docker原创 2022-12-19 16:10:33 · 124 阅读 · 0 评论 -
docker: Got permission denied while trying to connect to the Docker daemon socket at unix
docker原创 2022-06-22 09:31:47 · 5254 阅读 · 0 评论 -
MySQL:Docker 配置MySQL主从复制
前置条件:2台机器(master机器,slave机器),分别安装好了docker环境搭建步骤1.master机器docker run -di --name master -p3306:3306 -e MYSQL_ROOT_PASSWORD=root mysql:5.72.slave机器docker run -di --name slave1 -p3306:3306 -e MYSQL_ROOT_PASSWORD=root mysql:5.73.master机器docker exec -it原创 2022-05-16 22:53:11 · 428 阅读 · 1 评论 -
SpringCloud: Docker Nacos1.4(MySQL版)
0.准备好docker环境1.准备MySQL数据库,创建nacos数据库,写入表/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a cop原创 2021-12-27 09:15:13 · 284 阅读 · 0 评论 -
Docker: server gave HTTP response to HTTPS client
需要编辑/etc/docker/daemon.json,增加相应地址{"insecure-registries":["139.198.xx.xx:8885","10.180.xx.xx:8885"]}原创 2021-10-06 18:54:47 · 194 阅读 · 0 评论 -
Docker: 容器内部安装ping
apt-get updateapt install iputils-ping原创 2021-09-25 12:45:28 · 1040 阅读 · 0 评论 -
Docker: 启动MySQL
docker run -itd --name mysql-hh -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7原创 2021-04-27 13:30:15 · 102 阅读 · 0 评论 -
Docker: 启动带密码的redis
docker run -itd --name redis -p 6379:6379 redis --requirepass xxxxxx原创 2021-04-18 21:38:56 · 412 阅读 · 0 评论 -
Docker: 删除全部容器
docker stop $(docker ps -aq)docker rm $(docker ps -aq)原创 2021-04-11 15:12:44 · 171 阅读 · 0 评论 -
Docker:swarm
搭建时要关闭防火墙或开放端口2377否则可能Error response from daemon: manager stopped: can't initialize raft node: rpc error: code = Unknown desc = could not connect to prospective new cluster member using its advertised address: rpc error: code = Unavailable desc = connect原创 2020-12-21 10:37:49 · 576 阅读 · 0 评论 -
Docker: MySQL主从
master.cnf文件:[mysqld]pid-file = /var/run/mysqld/mysqld.pidsocket = /var/run/mysqld/mysqld.sockdatadir = /var/lib/mysqlsymbolic-links=0character-set-server = utf8#skip-networkinginnodb_print_all_deadlocks = 1max_connections = 2000max_co原创 2020-12-20 16:00:18 · 97 阅读 · 0 评论 -
Docker: 普通用户启动docker
提示权限问题,sudo groupadd dockersudo gpasswd -a $USER dockernewgrp dockerdocker ps原创 2020-12-09 20:20:24 · 660 阅读 · 0 评论