当前位置: 首页 > news >正文

鹿城区住房和城乡建设局网站网站建设公司怎么谈单

鹿城区住房和城乡建设局网站,网站建设公司怎么谈单,wordpress有客户端吗,做网站项目实例前期准备 查看操作系统版本,跟本文标题核对一下 uname -a查看操作系统架构 uname -m下载离线包 下载 docker 离线包 地址:https://download.docker.com/linux/static/stable/ 选择系统架构对应的文件目录:aarch64,我目前使用…

前期准备

查看操作系统版本,跟本文标题核对一下

uname -a

查看操作系统架构

uname -m

下载离线包

下载 docker 离线包

地址:https://download.docker.com/linux/static/stable/
选择系统架构对应的文件目录:aarch64,我目前使用的版本是:24.0.6

下载 docker-compose 离线包

地址:https://github.com/docker/compose/releases
选择系统架构对应的文件目录:aarch64,我目前使用的版本是:2.30.1

修改 docker 存储路径

修改存储目录至数据盘,避免后期埋坑,系统盘炸裂

mkdir /etc/dockervim /etc/docker/daemon.json{"data-root": "/data/docker/root_dir/"
}

准备 docker.service 系统配置文件

其中, --default-ulimit nofile=65535:65535,这个对 java 程序能在容器中愉快的运行十分重要!

docker.service[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target firewalld.service
Wants=network-online.target[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
ExecStart=/usr/bin/dockerd --default-ulimit nofile=65535:65535
ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
#TasksMax=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
# restart the docker process if it exits prematurely
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s[Install]
WantedBy=multi-user.target

一把梭

# 进入安装文件存放目录
cd /data/soft# 解压 docker 到当前目录
tar -xvf docker-24.0.6.tgz# 将 docker 文件移动到 /usr/bin 目录下
cp -p docker/* /usr/bin# 将 docker-compose 文件复制到 /usr/local/bin/ 目录下,并重命名为 docker-compose
cp docker-compose-linux-aarch64 /usr/local/bin/docker-compose# 设置 docker-compose 文件权限
chmod +x /usr/local/bin/docker-compose# 将 docker.service 移到 /etc/systemd/system/ 目录
cp docker.service /etc/systemd/system/# 设置 docker.service 文件权限
chmod +x /etc/systemd/system/docker.service# 重新加载配置文件
systemctl daemon-reload# 启动docker
systemctl start docker# 设置 docker 开机自启
systemctl enable docker.service

验证

查看 docker 版本
docker -v查看 docker-compose 版本
docker-compose -v
http://www.yayakq.cn/news/585096/

相关文章:

  • 手机网站分页设计wordpress社区系统
  • nike建设网站的目的做房产网站需要多少钱
  • 益阳网站建设企业智慧园区 展厅设计
  • 设计开发建设网站平台摄影师网站html5
  • 网站建设企业的市场分析注册一个公司一年费用
  • 用php做注册网站的代码网站制作首先
  • 网站开发的问题手工活接单在家做有正规网站吗
  • 手机网站开发框架杭州职业能力建设网
  • cookie做网站访问量网站设计的公司报价
  • 男人女人做那个网站自学电商运营教程
  • 临沂网站开发技术员网站后台密码文件
  • 精美个人主页安徽建站优化哪里有
  • 成都前几年网站建设公司深圳软件公司招聘
  • 在电脑上怎么做网站html代码hr表示
  • 南沙区网站建设企业管理咨询做什么的
  • 网站开发绑定微信qq注册专门做书单的网站
  • 濮阳建设企业网站公司购物商城外贸网站建设
  • 5个网站建设大连建设网网址是多少啊
  • 定制网站设计方案wordpress pdf下载插件
  • 自己做网络主播的网站建设网站相关法律条文
  • 百度资源站长平台专门做自助游的网站
  • 建立企业网站方案网站开发前端规范
  • 网站开发用的开源系统包牛牛网站怎么做
  • 做文库网站怎么赚钱吗电子商务网站建设的试卷
  • 网站开发怎么设置打印按钮做app一般多少钱
  • 中兴通讯的网站建设分析昆明网站设计能实现什么功能
  • 四会城乡建设局网站哈尔滨网络推广经理招聘
  • 好的装修效果图网站能自己做生物实验的网站
  • 西安网站优化平台天蓝色网站
  • 网站图片分辨率尺寸网站建设报价单 excel