https://rancher.com/docs/os/v1.x/en/quick-start-guide/
VMware IOS 镜像部署
https://github.com/rancher/os/blob/master/README.md
https://releases.rancher.com/os/v1.5.7/rancheros.iso
[root@rancher ~]# sudo system-docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
72ea68d6f6e1 rancher/os-docker:19.03.11 "ros user-docker" Less than a second ago Up Less than a second docker
9c5fb131deab rancher/os-console:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second console
5c165a0658f1 rancher/os-openvmtools:10.3.10-2 "/usr/bin/ros entr..." Less than a second ago Up Less than a second open-vm-tools
c60245338d30 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second ntp
a6d80e701ca2 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second network
fdf00c87dae3 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second udev
7f353cfe56f1 rancher/container-crontab:v0.4.0 "container-crontab" Less than a second ago Up Less than a second system-cron
1556ec350ed3 rancher/os-syslog:v1.5.6 "/usr/bin/entrypoi..." Less than a second ago Up Less than a second syslog
dd5f39ca2f58 rancher/os-acpid:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second acpid
cfa19d53ebd4 husseingalal/busydash "node server" 6 minutes ago Up 5 minutes busydash
[root@rancher ~]#
[root@rancher ~]# cat /etc/issue
, , ______ _ _____ _____TM
,------------|'------'| | ___ \\ | | / _ / ___|
/ . '-' |- | |_/ /__ _ _ __ ___| |__ ___ _ __ | | | \\ '--.
\\/| | | | // _' | '_ \\ / __| '_ \\ / _ \\ '__' | | | |'--. \\
| .________.'----' | |\\ \\ (_| | | | | (__| | | | __/ | | \\_/ /\\__/ /
| | | | \\_| \\_\\__,_|_| |_|\\___|_| |_|\\___|_| \\___/\\____/
\\___/ \\___/ \s \r
RancherOS \v \n \l
docker-sys: 172.18.42.1 eth0: 192.168.11.89 lo: 127.0.0.1
[root@rancher ~]# docker info
Client:
Debug Mode: false
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 19.03.11
Storage Driver: overlay2
Backing Filesystem: tmpfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.14.138-rancher
Operating System: RancherOS v1.5.6
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.927GiB
Name: rancher
ID: CYWM:HPD3:U3YZ:JCXG:ET53:OX22:7NM7:3F2Q:THF7:7IOV:6VEA:Q3ZE
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
[root@rancher ~]# system-docker info
Containers: 21
Running: 10
Paused: 0
Stopped: 11
Images: 10
Server Version: 17.06-ros6
Storage Driver: overlay2
Backing Filesystem: tmpfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host null
Log: json-file
Swarm:
NodeID:
Is Manager: false
Node Address:
Runtimes: runc
Default Runtime: runc
Init Binary: system-docker-init
containerd version: 3addd840653146c90a254301d6c3a663c7fd6429
runc version: 5babf27587a84006187e1a7766ad0d8de890a05c
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.14.138-rancher
Operating System: RancherOS v1.5.6
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.927GiB
Name: rancher
ID: CYWM:HPD3:U3YZ:JCXG:ET53:OX22:7NM7:3F2Q:THF7:7IOV:6VEA:Q3ZE
Docker Root Dir: /var/lib/system-docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
[root@rancher ~]#
sudo system-docker run -d --net=host --name busydash husseingalal/busydash
sudo mkdir -p /opt/rancher/bin
echo "sudo system-docker start busydash" | sudo tee -a /opt/rancher/bin/start.sh
sudo chmod 755 /opt/rancher/bin/start.sh
部署硬盘