daemon docker the connect
docker部署nginx服务:
docker部署nginx服务: docker run -d --name nginx-server -v /opt/fuwu/nginx-server:/usr/share/html/index.html:ro nginx:latest Unable to find image 'nginx:la ......
docker部署可道云+onlyoffice
一、创建目录 mkdir /docker/kodbox && cd /docker/kodbox 二、创建数据库环境变量 vim db.env MYSQL_PASSWORD=123456 MYSQL_DATABASE=kodbox MYSQL_USER=kodbox MARIADB_ROOT_PAS ......
POLIR-Int-Generative AI in 2024: The 6 most important consumer tech trends for next year
Generative AI in 2024: The 6 most important consumer tech trends for next year Qualcomm executives reveal key trends in AI, consumer technology and mo ......
致21岁的自己——May all the beauty be blessed.
[错峰跨年第一弹]长文预警,本文长达不知道多少字(本文同时发布于博客园)先说一下,博客园快要倒闭了233说起博客园又得提一嘴他的好朋友csdn,so f**k you csdn,盗我博客不得house每年到这个时候都是最忙的时候,期末周(月)加课设,画图画得焦头烂额,机械工程狗都不学。这一年倒是身体 ......
docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory
docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory 1.报错日志 library initialization failed - unable to ......
Linux Zookeeper在Docker 安装与简单通信
一、在本地计算机上安装Docker 1.安装Docker (安装最新的Docker版本) yum install docker-ce docker-ce-cli containerd.io docker-bulidx-plugin docker-compose-plugin 2.查看Docker版本 ......
使用Docker和Nginx部署单页面应用
使用Docker和Nginx部署单页面应用 一、简介 1.背景 Docker 是一个容器引擎,它使用 Linux 内核功能(如命名空间和控制组)在操作系统之上创建容器 Docker Compose是一个命令行工具,可以简化容器镜像的构建以及容器的运行,将命令行的选项翻译成配置文件 Nginx是一个高 ......
docker-compose gitlab
version: '3'services: gitlab: image: 'yrzr/gitlab-ce-arm64v8:latest' restart: unless-stopped hostname: 'test.gitlab.com' environment: TZ: 'Asia/Shangh ......
随笔-开发-创建一个python开发环境(docker)
docker-compose.yml version: "3" services: python-dev-env: image: python:3.6.15-slim-buster restart: always container_name: py3-dev-env network_mode: h ......
Docker不装C盘
Docker默认安装在C盘,这未来随着docker使用必定会导致C盘空间吃紧。所以本文提前进行空间布局,将docker默认安装路径软链接到D盘。软链接D盘Docker默认安装路径为C:\Program Files\Docker。使用管理员权限打开命令终端mklink /j "C:\Program F ......
CF1761E Make It Connected记录
题目链接:https://codeforces.com/contest/1761/problem/E 题意简述 以邻接矩阵的形式给你一张无向图。你可以执行如下操作: 选定节点 \(u\)。对所有其它节点 \(v\),翻转 \(u\) 与 \(v\) 的连边状态。 给出一种花费操作最少的方案,使图连通 ......
淘宝镜像出现问题. docker.安装运行。
由于centos8 在2022年停止服务,后继版本为8-steam。在使用阿里云的 centos8 的 yum 时报错。 解决方案 1、进入配置文件内,删除所有的.repo文件(也可以备份) 1 2 3 4 5 #进入配置文件夹 cd /etc/yum.repos.d/ #删除旧的配置文件 rm * ......
freeswitch on debian docker
概述 freeswitch是一款简单好用的VOIP开源软交换平台。 因为centos系统期限的原因,尝试在debian的docker上使用fs。 环境 docker engine:Version 24.0.6 debian docker:bullseye 11.8 freeswitch:v1.10. ......
Spring Security without the WebSecurityConfigurerAdapter
ENGINEERING | ELEFTHERIA STEIN-KOUSATHANA | FEBRUARY 21, 2022 | ... In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter, as we ......
How to Master the Popular DBSCAN Clustering Algorithm for Machine Learning
Overview DBSCAN clustering is an underrated yet super useful clustering algorithm for unsupervised learning problems Learn how DBSCAN clustering works ......
基于Docker安装Elasticsearch + Kibana
基于Docker安装Elasticsearch + Kibana 前提是先安装好Docker的环境 Docker创建网络 Docker创建一个网络专门连接Elasticsearch和Kibana docker network create es-net Docker安装Elasticsearch 拉 ......
The 2022 ICPC Asia-East Continent Final Contest (EC-Final 2022)
比赛链接 没做完。 A. Coloring 有 \(n\) 个元素,第 \(i\) 个元素有价值 \(w_i\),颜色 \(c_i\)。给定 \(s\),初始时只有 \(c_s=1\),其余 \(c_i\) 均为 \(0\)。 可以进行任意操作:选择一个 \(1 \le i \le n\),花费 \ ......
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-0611: Error enabling STATISTICS report
报错信息: SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS report 说明: Oracle下普通用户缺少set aut ......
docker easyconnect
https://github.com/JacZhoulang/docker-easyconnect docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -v $HOME/.ecdata:/root -p ......
DOCKER 多段构建
DOCKER 多段构建 Docker 多段构建(Multi-Stage Build)是一种优化 Docker 镜像大小和构建过程的方法。它允许你在一个 Dockerfile 中定义多个构建阶段,每个阶段都可以有自己的基础镜像、依赖和构建步骤。这样,你可以在最终的镜像中只包含运行时所需的组件,而不包含 ......
How to permanently delete a file stored in GIT (both from the local and remote repositories)?
First run git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch FOLDERNAME" -- --all Then shrink the .git folder rm -rf .git/refs/ ......
在centos7云主机上docker方式安装halo2.11,数据库使用mysql5.7
1.提前安装好docker和docker-compose 2.在~目录下新建halo目录并进入 mkdir ~/halo && cd ~/halo 3.在halo目录新建 docker-compose.yml文件 vi docker-compose.yml 我这里使用的是外部的mysql,文件内容 ......
在centos7上安装docker
官方文档 https://docs.docker.com/engine/install/centos/ 1.查看centos系统版本,本篇文章是在 centos7 上安装docker,注意系统版本 cat /etc/redhat-release 回显 CentOS Linux release 7.9 ......
Docker常用命令记录.......
Docker基本命令 查看本地镜像 docker images 搜索镜像 docker search tomcat 拉取镜像 docker pull tomcat:版本号 #默认是latest 删除镜像 docker rmi IMAGE ID 查看所有实例(正在运行 + 未运行) docker ps ......
centos系统安装docker和docker 使用
基于centos系统安装docker,可以让你的开发更加专注 下载阿里云的docker 镜像 wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.rep ......
CF1178G The Awesomest Vertex
CF1178G The Awesomest Vertex 给定一棵根为 \(1\) 的有根树,每个节点有两个权值 \(a[i]\) 和 \(b[i]\) 。定义 \(R(v)\) 为 \(v\) 祖先的集合(包括自己),则一个节点 \(v\) 有多棒取决于其真棒程度,真棒程度是这样定义的: \[\l ......
【Docker】关于挂载修改&迁移问题
如果进行容器挂载迁移,新挂载的目录会导致之前容器内的数据丢失,接下来给大家整理思路 之前是没有进行数据挂载的,也就是默认路径 #先查看一下默认路径 docker inspect 【容器名】 #Mounts这里有详细的挂载信息,可以看到最开始的默认路径是home/lib/docker/volumes/ ......
mysql链接异常,不能使用ip链接解决——null, message from server: "Host 'host.docker.internal' is not allowed to connect to this MySQL server"
情况: 报错翻译: 空指针,来自服务器的消息:"Host ’ Host .docker.internal’ 不允许连接到 MySQL 服务器" 登陆mysql 键入命令mysql -uroot -p,回车后提示你输入密码,输入12345,然后回车即可进入到mysql中 选择数据库 use ......
Windows10 卸载WSL Ubuntu (解决Docker Desktop 报错问题)
首先在“程序”里面卸载 “Windows Subsystem for Linux Update” 然后使用命令行卸载已安装的子系统 1、查看当前环境安装的wsl wsl --list 2、注销(卸载)当前安装的Linux的Windows子系统 wsl --unregister Ubuntu 3、卸载 ......