Install Allinone
Overview
The current installation method can quickly experience the full functionality of Rainbond by running only one container. Only applicable to experience Rainbond functions or personal development environment. Support Windows
、MacOS
、Linux
operating systems, And x86_64
、Arm64
Mainstream Architecture.
Pre
caution
- Install Docker
- Memory greater than 2G, 4G or above recommended
- Disk 50G or above recommended
- Open ports 80 443 6060 6443 7070 8443
Deployment process
info
The next steps will guide you to get Rainbond running quickly on your machine
- Linux
- Linux With Arm
- Mac with Intel
- Mac with M1
- Windows
1. Install Docker
curl sh.rainbond.com/install_docker | bash
2. Set EIP(Required)
You need to specify an IP address, After deployment is complete, This IP address will be used to access the Rainbond. The IP is set through the env EIP
.
This address can be the public IP or intranet IP on the deployment machine. The IP address can be obtained by running the ifconfig
command.
caution
When you fill in the intranet IP,eg: 192.168.3.25, May be inaccessible after switching network environments. So if you only test the experience locally, You can fill in the local loopback address.
eg: export EIP=127.0.0.1
export EIP=<Your IP ADDR>
3. Install Rainbond
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=on-failure \
-v ~/.ssh:/root/.ssh \
-v ~/rainbonddata:/app/data \
-v /opt/rainbond:/opt/rainbond \
-v ~/dockerdata:/var/lib/docker \
-e EIP=$EIP \
rainbond/rainbond:v5.8.1-dind-allinone \
&& docker logs -f rainbond-allinone
After executing the above command, wait patiently for 5-10 minutes, You can see the following log output, indicating that Rainbond has been started.
The installation log output is as follows:
2022-09-12 15:58:06 INFO: Memory: 7821 MB, CPUs: 2, Disk: 31919 MB
2022-09-12 15:58:08 INFO: Docker is starting, please wait ············································
2022-09-12 15:58:08 INFO: Docker started successfully
2022-09-12 15:58:08 INFO: Loading images
Loaded image: rainbond/rbd-monitor:v5.8.1-release
Loaded image: rainbond/registry:2.6.2
Loaded image: rainbond/metrics-scraper:v1.0.4
Loaded image: rainbond/rbd-init-probe:v5.8.1-release
Loaded image: rainbond/rbd-mq:v5.8.1-release
Loaded image: rainbond/rbd-resource-proxy:v5.8.1-release
Loaded image: rainbond/rainbond-operator:v5.8.1-release
Loaded image: rainbond/rbd-node:v5.8.1-release
Loaded image: registry.cn-hangzhou.aliyuncs.com/goodrain/smallimage:latest
Loaded image: rancher/mirrored-pause:3.1
Loaded image: rancher/mirrored-coredns-coredns:1.8.4
Loaded image: rancher/mirrored-metrics-server:v0.5.0
Loaded image: rancher/mirrored-library-busybox:1.32.1
Loaded image: rainbond/etcd:v3.3.18
Loaded image: rainbond/rbd-mesh-data-panel:v5.8.1-release
Loaded image: rainbond/rbd-webcli:v5.8.1-release
Loaded image: rainbond/kubernetes-dashboard:v2.6.1
Loaded image: rainbond/rbd-db:8.0
Loaded image: rainbond/rbd-chaos:v5.8.1-release
Loaded image: rainbond/rbd-worker:v5.8.1-release
Loaded image: rainbond/rbd-gateway:v5.8.1-release
Loaded image: rainbond/metrics-server:v0.4.1
Loaded image: rainbond/mysqld-exporter:latest
Loaded image: rainbond/rbd-eventlog:v5.8.1-release
Loaded image: rainbond/rbd-api:v5.8.1-release
Loaded image: rancher/local-path-provisioner:v0.0.20
2022-09-12 15:59:08 INFO: Docker images success
2022-09-12 15:59:09 INFO: K3s is starting, please wait ············································
2022-09-12 15:59:26 INFO: K3s started successfully
namespace/rbd-system created
2022-09-12 15:59:26 INFO: Create namespace rbd-system
NAME: rainbond-operator
LAST DEPLOYED: Mon Sep 12 15:59:28 2022
NAMESPACE: rbd-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-12 15:59:28 INFO: Helm rainbond-operator installed
2022-09-12 15:59:29 INFO: Rainbond Region installed
2022-09-12 15:59:29 INFO: Rainbond Region is starting, please wait ············································
2022-09-12 16:00:55 INFO: Rainbond Region started successfully
2022-09-12 16:00:57 INFO: Rainbond console is starting, please wait ············································
2022-09-12 16:01:13 INFO: Rainbond started successfully, Please pass http://39.105.155.87:7070 Access Rainbond
4. Access Rainbond
At this point, you have successfully installed Rainbond, you can now access according to the access address prompted in the log, and start your experience journey
warning
Notice: Allinone has cluster is installed by default, No need to perform a host-based cluster installation.
1. Install Docker
Refer to the Docker official documentation to install arm version of docker.
2. Set EIP(Required)
You need to specify an IP address, After deployment is complete, This IP address will be used to access the Rainbond. The IP is set through the env EIP
.
This address can be the public IP or intranet IP on the deployment machine. The IP address can be obtained by running the ifconfig command.
caution
When you fill in the intranet IP,eg: 192.168.3.25, May be inaccessible after switching network environments. So if you only test the experience locally, You can fill in the local loopback address.
eg: export EIP=127.0.0.1
export EIP=<Your IP ADDR>
3. Install Rainbond
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=on-failure \
-v ~/.ssh:/root/.ssh \
-v ~/rainbonddata:/app/data \
-v /opt/rainbond:/opt/rainbond \
-v ~/dockerdata:/var/lib/docker \
-e EIP=$EIP \
rainbond/rainbond:v5.8.1-arm64-dind-allinone \
&& docker logs -f rainbond-allinone
After executing the above command, wait patiently for 5-10 minutes, You can see the following log output, indicating that Rainbond has been started.
The installation log output is as follows:
2022-09-12 15:58:06 INFO: Memory: 7821 MB, CPUs: 2, Disk: 31919 MB
2022-09-12 15:58:08 INFO: Docker is starting, please wait ············································
2022-09-12 15:58:08 INFO: Docker started successfully
2022-09-12 15:58:08 INFO: Loading images
Loaded image: rainbond/rbd-monitor:v5.8.1-release
Loaded image: rainbond/registry:2.6.2
Loaded image: rainbond/metrics-scraper:v1.0.4
Loaded image: rainbond/rbd-init-probe:v5.8.1-release
Loaded image: rainbond/rbd-mq:v5.8.1-release
Loaded image: rainbond/rbd-resource-proxy:v5.8.1-release
Loaded image: rainbond/rainbond-operator:v5.8.1-release
Loaded image: rainbond/rbd-node:v5.8.1-release
Loaded image: registry.cn-hangzhou.aliyuncs.com/goodrain/smallimage:latest
Loaded image: rancher/mirrored-pause:3.1
Loaded image: rancher/mirrored-coredns-coredns:1.8.4
Loaded image: rancher/mirrored-metrics-server:v0.5.0
Loaded image: rancher/mirrored-library-busybox:1.32.1
Loaded image: rainbond/etcd:v3.3.18
Loaded image: rainbond/rbd-mesh-data-panel:v5.8.1-release
Loaded image: rainbond/rbd-webcli:v5.8.1-release
Loaded image: rainbond/kubernetes-dashboard:v2.6.1
Loaded image: rainbond/rbd-db:8.0
Loaded image: rainbond/rbd-chaos:v5.8.1-release
Loaded image: rainbond/rbd-worker:v5.8.1-release
Loaded image: rainbond/rbd-gateway:v5.8.1-release
Loaded image: rainbond/metrics-server:v0.4.1
Loaded image: rainbond/mysqld-exporter:latest
Loaded image: rainbond/rbd-eventlog:v5.8.1-release
Loaded image: rainbond/rbd-api:v5.8.1-release
Loaded image: rancher/local-path-provisioner:v0.0.20
2022-09-12 15:59:08 INFO: Docker images success
2022-09-12 15:59:09 INFO: K3s is starting, please wait ············································
2022-09-12 15:59:26 INFO: K3s started successfully
namespace/rbd-system created
2022-09-12 15:59:26 INFO: Create namespace rbd-system
NAME: rainbond-operator
LAST DEPLOYED: Mon Sep 12 15:59:28 2022
NAMESPACE: rbd-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-12 15:59:28 INFO: Helm rainbond-operator installed
2022-09-12 15:59:29 INFO: Rainbond Region installed
2022-09-12 15:59:29 INFO: Rainbond Region is starting, please wait ············································
2022-09-12 16:00:55 INFO: Rainbond Region started successfully
2022-09-12 16:00:57 INFO: Rainbond console is starting, please wait ············································
2022-09-12 16:01:13 INFO: Rainbond started successfully, Please pass http://39.105.155.87:7070 Access Rainbond
4. Access Rainbond
At this point, you have successfully installed Rainbond, you can now access according to the access address prompted in the log, and start your experience journey
warning
Notice: Allinone has cluster is installed by default, No need to perform a host-based cluster installation.
1. Install Docker
Download Docker Desktop
2. Set EIP(Required)
You need to specify an IP address, After deployment is complete, This IP address will be used to access the Rainbond. The IP is set through the env EIP
.
This address can be the public IP or intranet IP on the deployment machine. The IP address can be obtained by running the ifconfig
command. or press and hold Option
while clicking the upper right corner WIFI
.
caution
When you fill in the intranet IP,eg: 192.168.3.25, May be inaccessible after switching network environments. So if you only test the experience locally, You can fill in the local loopback address.
eg: export EIP=127.0.0.1
export EIP=<Your IP ADDR>
3. Install Rainbond
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=on-failure \
-v ~/.ssh:/root/.ssh \
-v ~/opt/rainbond:/opt/rainbond \
-v ~/rainbonddata:/app/data \
-e EIP=$EIP \
rainbond/rainbond:v5.8.1-dind-allinone \
&& docker logs -f rainbond-allinone
After executing the above command, wait patiently for 5-10 minutes, You can see the following log output, indicating that Rainbond has been started.
The installation log output is as follows:
2022-09-12 15:58:06 INFO: Memory: 7821 MB, CPUs: 2, Disk: 31919 MB
2022-09-12 15:58:08 INFO: Docker is starting, please wait ············································
2022-09-12 15:58:08 INFO: Docker started successfully
2022-09-12 15:58:08 INFO: Loading images
Loaded image: rainbond/rbd-monitor:v5.8.1-release
Loaded image: rainbond/registry:2.6.2
Loaded image: rainbond/metrics-scraper:v1.0.4
Loaded image: rainbond/rbd-init-probe:v5.8.1-release
Loaded image: rainbond/rbd-mq:v5.8.1-release
Loaded image: rainbond/rbd-resource-proxy:v5.8.1-release
Loaded image: rainbond/rainbond-operator:v5.8.1-release
Loaded image: rainbond/rbd-node:v5.8.1-release
Loaded image: registry.cn-hangzhou.aliyuncs.com/goodrain/smallimage:latest
Loaded image: rancher/mirrored-pause:3.1
Loaded image: rancher/mirrored-coredns-coredns:1.8.4
Loaded image: rancher/mirrored-metrics-server:v0.5.0
Loaded image: rancher/mirrored-library-busybox:1.32.1
Loaded image: rainbond/etcd:v3.3.18
Loaded image: rainbond/rbd-mesh-data-panel:v5.8.1-release
Loaded image: rainbond/rbd-webcli:v5.8.1-release
Loaded image: rainbond/kubernetes-dashboard:v2.6.1
Loaded image: rainbond/rbd-db:8.0
Loaded image: rainbond/rbd-chaos:v5.8.1-release
Loaded image: rainbond/rbd-worker:v5.8.1-release
Loaded image: rainbond/rbd-gateway:v5.8.1-release
Loaded image: rainbond/metrics-server:v0.4.1
Loaded image: rainbond/mysqld-exporter:latest
Loaded image: rainbond/rbd-eventlog:v5.8.1-release
Loaded image: rainbond/rbd-api:v5.8.1-release
Loaded image: rancher/local-path-provisioner:v0.0.20
2022-09-12 15:59:08 INFO: Docker images success
2022-09-12 15:59:09 INFO: K3s is starting, please wait ············································
2022-09-12 15:59:26 INFO: K3s started successfully
namespace/rbd-system created
2022-09-12 15:59:26 INFO: Create namespace rbd-system
NAME: rainbond-operator
LAST DEPLOYED: Mon Sep 12 15:59:28 2022
NAMESPACE: rbd-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-12 15:59:28 INFO: Helm rainbond-operator installed
2022-09-12 15:59:29 INFO: Rainbond Region installed
2022-09-12 15:59:29 INFO: Rainbond Region is starting, please wait ············································
2022-09-12 16:00:55 INFO: Rainbond Region started successfully
2022-09-12 16:00:57 INFO: Rainbond console is starting, please wait ············································
2022-09-12 16:01:13 INFO: Rainbond started successfully, Please pass http://39.105.155.87:7070 Access Rainbond
4. Access Rainbond
At this point, you have successfully installed Rainbond, you can now access according to the access address prompted in the log, and start your experience journey
warning
Notice: Allinone has cluster is installed by default, No need to perform a host-based cluster installation.
1. Install Docker
Download Docker Desktop
2. Set EIP(Required)
You need to specify an IP address, After deployment is complete, This IP address will be used to access the Rainbond. The IP is set through the env EIP
.
This address can be the public IP or intranet IP on the deployment machine. The IP address can be obtained by running the ifconfig command. Or press and hold option
and click the WiFi icon
in the upper right corner.
caution
When you fill in the intranet IP,eg: 192.168.3.25, May be inaccessible after switching network environments. So if you only test the experience locally, You can fill in the local loopback address.
eg: export EIP=127.0.0.1
export EIP=<Your IP ADDR>
3. Install Rainbond
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=on-failure \
-v ~/.ssh:/root/.ssh \
-v ~/opt/rainbond:/opt/rainbond \
-v ~/rainbonddata:/app/data \
-e EIP=$EIP \
rainbond/rainbond:v5.8.1-arm64-dind-allinone \
&& docker logs -f rainbond-allinone
After executing the above command, wait patiently for 5-10 minutes, You can see the following log output, indicating that Rainbond has been started.
The installation log output is as follows:
2022-09-12 15:58:06 INFO: Memory: 7821 MB, CPUs: 2, Disk: 31919 MB
2022-09-12 15:58:08 INFO: Docker is starting, please wait ············································
2022-09-12 15:58:08 INFO: Docker started successfully
2022-09-12 15:58:08 INFO: Loading images
Loaded image: rainbond/rbd-monitor:v5.8.1-release
Loaded image: rainbond/registry:2.6.2
Loaded image: rainbond/metrics-scraper:v1.0.4
Loaded image: rainbond/rbd-init-probe:v5.8.1-release
Loaded image: rainbond/rbd-mq:v5.8.1-release
Loaded image: rainbond/rbd-resource-proxy:v5.8.1-release
Loaded image: rainbond/rainbond-operator:v5.8.1-release
Loaded image: rainbond/rbd-node:v5.8.1-release
Loaded image: registry.cn-hangzhou.aliyuncs.com/goodrain/smallimage:latest
Loaded image: rancher/mirrored-pause:3.1
Loaded image: rancher/mirrored-coredns-coredns:1.8.4
Loaded image: rancher/mirrored-metrics-server:v0.5.0
Loaded image: rancher/mirrored-library-busybox:1.32.1
Loaded image: rainbond/etcd:v3.3.18
Loaded image: rainbond/rbd-mesh-data-panel:v5.8.1-release
Loaded image: rainbond/rbd-webcli:v5.8.1-release
Loaded image: rainbond/kubernetes-dashboard:v2.6.1
Loaded image: rainbond/rbd-db:8.0
Loaded image: rainbond/rbd-chaos:v5.8.1-release
Loaded image: rainbond/rbd-worker:v5.8.1-release
Loaded image: rainbond/rbd-gateway:v5.8.1-release
Loaded image: rainbond/metrics-server:v0.4.1
Loaded image: rainbond/mysqld-exporter:latest
Loaded image: rainbond/rbd-eventlog:v5.8.1-release
Loaded image: rainbond/rbd-api:v5.8.1-release
Loaded image: rancher/local-path-provisioner:v0.0.20
2022-09-12 15:59:08 INFO: Docker images success
2022-09-12 15:59:09 INFO: K3s is starting, please wait ············································
2022-09-12 15:59:26 INFO: K3s started successfully
namespace/rbd-system created
2022-09-12 15:59:26 INFO: Create namespace rbd-system
NAME: rainbond-operator
LAST DEPLOYED: Mon Sep 12 15:59:28 2022
NAMESPACE: rbd-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-12 15:59:28 INFO: Helm rainbond-operator installed
2022-09-12 15:59:29 INFO: Rainbond Region installed
2022-09-12 15:59:29 INFO: Rainbond Region is starting, please wait ············································
2022-09-12 16:00:55 INFO: Rainbond Region started successfully
2022-09-12 16:00:57 INFO: Rainbond console is starting, please wait ············································
2022-09-12 16:01:13 INFO: Rainbond started successfully, Please pass http://39.105.155.87:7070 Access Rainbond
4. Access Rainbond
At this point, you have successfully installed Rainbond, you can now access according to the access address prompted in the log, and start your experience journey
warning
Notice: Allinone has cluster is installed by default, No need to perform a host-based cluster installation.
1. Install Docker
Download Docker Desktop
2. Set EIP(Required)
You need to specify an IP address, After deployment is complete, This IP address will be used to access the Rainbond. The IP is set through the env EIP
.
This address can be the public IP or intranet IP on the deployment machine. The IP address can be obtained by running the ifconfig
command.
caution
When you fill in the intranet IP, eg: 192.168.3.25, it may not be accessible after switching the network environment. so if you only test the experience locally, you can fill in the local loopback address.
Since the Windows environment variable setting is different from other methods, we do not set the environment variable in the terminal. Instead, when starting Rainbond in the third step, modify the EIP environment variable in the startup command.
eg: -e EIP=127.0.0.1
3. Install Rainbond
After copying the startup command below, Please edit manually -e EIP=<Your IP ADDR>
env.
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 ^
--name=rainbond-allinone --restart=on-failure ^
-v ~/.ssh:/root/.ssh ^
-v ~/rainbonddata:/app/data ^
-v ~/opt/rainbond:/opt/rainbond ^
-e EIP=<Your IP ADDR> ^
rainbond/rainbond:v5.8.1-dind-allinone ^
&& docker logs -f rainbond-allinone
After executing the above command, wait patiently for 5-10 minutes, You can see the following log output, indicating that Rainbond has been started.
The installation log output is as follows:
2022-09-12 15:58:06 INFO: Memory: 7821 MB, CPUs: 2, Disk: 31919 MB
2022-09-12 15:58:08 INFO: Docker is starting, please wait ············································
2022-09-12 15:58:08 INFO: Docker started successfully
2022-09-12 15:58:08 INFO: Loading images
Loaded image: rainbond/rbd-monitor:v5.8.1-release
Loaded image: rainbond/registry:2.6.2
Loaded image: rainbond/metrics-scraper:v1.0.4
Loaded image: rainbond/rbd-init-probe:v5.8.1-release
Loaded image: rainbond/rbd-mq:v5.8.1-release
Loaded image: rainbond/rbd-resource-proxy:v5.8.1-release
Loaded image: rainbond/rainbond-operator:v5.8.1-release
Loaded image: rainbond/rbd-node:v5.8.1-release
Loaded image: registry.cn-hangzhou.aliyuncs.com/goodrain/smallimage:latest
Loaded image: rancher/mirrored-pause:3.1
Loaded image: rancher/mirrored-coredns-coredns:1.8.4
Loaded image: rancher/mirrored-metrics-server:v0.5.0
Loaded image: rancher/mirrored-library-busybox:1.32.1
Loaded image: rainbond/etcd:v3.3.18
Loaded image: rainbond/rbd-mesh-data-panel:v5.8.1-release
Loaded image: rainbond/rbd-webcli:v5.8.1-release
Loaded image: rainbond/kubernetes-dashboard:v2.6.1
Loaded image: rainbond/rbd-db:8.0
Loaded image: rainbond/rbd-chaos:v5.8.1-release
Loaded image: rainbond/rbd-worker:v5.8.1-release
Loaded image: rainbond/rbd-gateway:v5.8.1-release
Loaded image: rainbond/metrics-server:v0.4.1
Loaded image: rainbond/mysqld-exporter:latest
Loaded image: rainbond/rbd-eventlog:v5.8.1-release
Loaded image: rainbond/rbd-api:v5.8.1-release
Loaded image: rancher/local-path-provisioner:v0.0.20
2022-09-12 15:59:08 INFO: Docker images success
2022-09-12 15:59:09 INFO: K3s is starting, please wait ············································
2022-09-12 15:59:26 INFO: K3s started successfully
namespace/rbd-system created
2022-09-12 15:59:26 INFO: Create namespace rbd-system
NAME: rainbond-operator
LAST DEPLOYED: Mon Sep 12 15:59:28 2022
NAMESPACE: rbd-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-12 15:59:28 INFO: Helm rainbond-operator installed
2022-09-12 15:59:29 INFO: Rainbond Region installed
2022-09-12 15:59:29 INFO: Rainbond Region is starting, please wait ············································
2022-09-12 16:00:55 INFO: Rainbond Region started successfully
2022-09-12 16:00:57 INFO: Rainbond console is starting, please wait ············································
2022-09-12 16:01:13 INFO: Rainbond started successfully, Please pass http://39.105.155.87:7070 Access Rainbond
4. Access Rainbond
At this point, you have successfully installed Rainbond, you can now access according to the access address prompted in the log, and start your experience journey
warning
Notice: Allinone has cluster is installed by default, No need to perform a host-based cluster installation.
Troubleshoot
If the installation process is not completed for a long time, ref Allinone Troubleshoot guide
Extended parameter description
start parameter | description | Is it required |
---|---|---|
-p 10000:10000 | If accessing internal applications via TCP policy, need to map ports | No |
Next step
Ref Quick Start Deploy your first app.