测试环境


docker 离线安装的文档参考

Install Docker Engine from binaries


验证离线安装的环境是否正确:

root@rbqntnwlflfxvigv:~/workspaces/Open-IM-Server-Enterprise/script# docker version && docker-compose version
Client:
 Version:           20.10.24
 API version:       1.41
 Go version:        go1.20.4
 Git commit:        297e128
 Built:             Wed May 24 23:30:52 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.24
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       5d6db84
  Built:            Wed May 24 23:31:22 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.6.20
  GitCommit:        2806fc1057397dbaeefbea0e4e17bddfbd388f38
 runc:
  Version:          1.1.5
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
Docker Compose version v2.17.2

安装包准备

镜像下载:

scp -r [email protected]:/home/off-line/openim-off-install/images.tar ./images.tar

外网 scp 后迁移到 内网 中,密码是 123456

安装的逻辑:

  1. 可以使用 docker 安装

  2. 使用 docker-compopse

docker-compose

  1. 先把im的docker-compose配置注释掉,用docker安装组件。