稷然如此

  • 首页
  • 文章分类
    • AI
    • Android
    • Java
    • Shell
    • Vue
    • C#
    • Python
    • 数据库
    • 组件
    • 其他
    • Game
  • 常用命令
    • Docker
    • Git
    • Linux
  • 操作系统
    • CentOS
    • Ubuntu
    • Windows
    • Kylin
  • 工具
    • IntelliJ IDEA
    • Visual Studio Code
Docker
Docker

Docker迁移WordPress

docker commit -p 容器id(例:455sd1545) 备份容器名称(例:blog-wordpress) 这样就会生成镜像,通过docker images命令查看 docker save -o /opt/blog-wordpress blog-wordpress /opt/blog-wordpress:保存目录 blog-wordpress:镜像名 docker load -i /opt/blog-wordpress.tar i.运行mysql5.6: docker run -d --restart=…

2024年7月27日 808点热度 0人点赞 Akim 阅读全文
Docker

Docker 常用命令

docker ps docker inspect 容器ID | grep "IPAddress" docker images docker exec -it 容器id /bin/bash systemctl start docker systemctl stop docker docker rmi -f 镜像id docker rm -f 容器id docker restart 容器id docker commit -p 容器id 备份镜像名称,例:docker commit -p xxxx oooo docker…

2023年7月25日 1287点热度 0人点赞 Akim 阅读全文
Docker

CentOS 部署 Docker + WordPress

参考文章:CentOS 安装 Docker   1.拉取wordpress镜像 docker pull wordpress 2.拉取mysql镜像,以5.6版本为例 docker pull mysql:5.6 # 如果需要获取最新版本,命令为:docker pull mysql:latest 3.查看镜像是否拉取成功 docker images 4.检查mysql的3306端口是否被占用 netstat -antp |  grep  "3306" | grep -v "grep" 5.启动mysql do…

2023年7月10日 1272点热度 0人点赞 Akim 阅读全文
12

Akim

犇 骉
Java、C#、Python、Go、Android、MiniProgram、Bootstrap、Vue2

Copyright © 2025 aianran.com All Rights Reserved.

免责申明 | 隐私政策 | 服务条款 | 关于我们

黔ICP备2023008200号-1

贵公网安备 52010202003594号