https://rancher.com/docs/os/v1.x/en/quick-start-guide/

    RancherOS - 图1

    VMware IOS 镜像部署
    https://github.com/rancher/os/blob/master/README.md
    https://releases.rancher.com/os/v1.5.7/rancheros.iso

    1. [root@rancher ~]# sudo system-docker ps
    2. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    3. 72ea68d6f6e1 rancher/os-docker:19.03.11 "ros user-docker" Less than a second ago Up Less than a second docker
    4. 9c5fb131deab rancher/os-console:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second console
    5. 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
    6. c60245338d30 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second ntp
    7. a6d80e701ca2 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second network
    8. fdf00c87dae3 rancher/os-base:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second udev
    9. 7f353cfe56f1 rancher/container-crontab:v0.4.0 "container-crontab" Less than a second ago Up Less than a second system-cron
    10. 1556ec350ed3 rancher/os-syslog:v1.5.6 "/usr/bin/entrypoi..." Less than a second ago Up Less than a second syslog
    11. dd5f39ca2f58 rancher/os-acpid:v1.5.6 "/usr/bin/ros entr..." Less than a second ago Up Less than a second acpid
    12. cfa19d53ebd4 husseingalal/busydash "node server" 6 minutes ago Up 5 minutes busydash
    13. [root@rancher ~]#

    image.png
    image.png

    1. [root@rancher ~]# cat /etc/issue
    2. , , ______ _ _____ _____TM
    3. ,------------|'------'| | ___ \\ | | / _ / ___|
    4. / . '-' |- | |_/ /__ _ _ __ ___| |__ ___ _ __ | | | \\ '--.
    5. \\/| | | | // _' | '_ \\ / __| '_ \\ / _ \\ '__' | | | |'--. \\
    6. | .________.'----' | |\\ \\ (_| | | | | (__| | | | __/ | | \\_/ /\\__/ /
    7. | | | | \\_| \\_\\__,_|_| |_|\\___|_| |_|\\___|_| \\___/\\____/
    8. \\___/ \\___/ \s \r
    9. RancherOS \v \n \l
    10. docker-sys: 172.18.42.1 eth0: 192.168.11.89 lo: 127.0.0.1
    11. [root@rancher ~]# docker info
    12. Client:
    13. Debug Mode: false
    14. Server:
    15. Containers: 0
    16. Running: 0
    17. Paused: 0
    18. Stopped: 0
    19. Images: 0
    20. Server Version: 19.03.11
    21. Storage Driver: overlay2
    22. Backing Filesystem: tmpfs
    23. Supports d_type: true
    24. Native Overlay Diff: true
    25. Logging Driver: json-file
    26. Cgroup Driver: cgroupfs
    27. Plugins:
    28. Volume: local
    29. Network: bridge host ipvlan macvlan null overlay
    30. Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
    31. Swarm: inactive
    32. Runtimes: runc
    33. Default Runtime: runc
    34. Init Binary: docker-init
    35. containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
    36. runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
    37. init version: fec3683
    38. Security Options:
    39. seccomp
    40. Profile: default
    41. Kernel Version: 4.14.138-rancher
    42. Operating System: RancherOS v1.5.6
    43. OSType: linux
    44. Architecture: x86_64
    45. CPUs: 2
    46. Total Memory: 1.927GiB
    47. Name: rancher
    48. ID: CYWM:HPD3:U3YZ:JCXG:ET53:OX22:7NM7:3F2Q:THF7:7IOV:6VEA:Q3ZE
    49. Docker Root Dir: /var/lib/docker
    50. Debug Mode: false
    51. Registry: https://index.docker.io/v1/
    52. Labels:
    53. Experimental: false
    54. Insecure Registries:
    55. 127.0.0.0/8
    56. Live Restore Enabled: false
    57. Product License: Community Engine
    58. [root@rancher ~]# system-docker info
    59. Containers: 21
    60. Running: 10
    61. Paused: 0
    62. Stopped: 11
    63. Images: 10
    64. Server Version: 17.06-ros6
    65. Storage Driver: overlay2
    66. Backing Filesystem: tmpfs
    67. Supports d_type: true
    68. Native Overlay Diff: true
    69. Logging Driver: json-file
    70. Cgroup Driver: cgroupfs
    71. Plugins:
    72. Volume: local
    73. Network: bridge host null
    74. Log: json-file
    75. Swarm:
    76. NodeID:
    77. Is Manager: false
    78. Node Address:
    79. Runtimes: runc
    80. Default Runtime: runc
    81. Init Binary: system-docker-init
    82. containerd version: 3addd840653146c90a254301d6c3a663c7fd6429
    83. runc version: 5babf27587a84006187e1a7766ad0d8de890a05c
    84. init version: 949e6fa
    85. Security Options:
    86. seccomp
    87. Profile: default
    88. Kernel Version: 4.14.138-rancher
    89. Operating System: RancherOS v1.5.6
    90. OSType: linux
    91. Architecture: x86_64
    92. CPUs: 2
    93. Total Memory: 1.927GiB
    94. Name: rancher
    95. ID: CYWM:HPD3:U3YZ:JCXG:ET53:OX22:7NM7:3F2Q:THF7:7IOV:6VEA:Q3ZE
    96. Docker Root Dir: /var/lib/system-docker
    97. Debug Mode (client): false
    98. Debug Mode (server): false
    99. Registry: https://index.docker.io/v1/
    100. Experimental: false
    101. Insecure Registries:
    102. 127.0.0.0/8
    103. Live Restore Enabled: false
    104. [root@rancher ~]#
    1. sudo system-docker run -d --net=host --name busydash husseingalal/busydash
    1. sudo mkdir -p /opt/rancher/bin
    2. echo "sudo system-docker start busydash" | sudo tee -a /opt/rancher/bin/start.sh
    3. sudo chmod 755 /opt/rancher/bin/start.sh

    image.png

    部署硬盘

    image.png