`docker run -d --restart=unless-stopped -p 80:80 -...
# random
m
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher
Rancher Docker container is unable to start Logs : -
INFO: Running k3s server --cluster-init --cluster-reset
2022/09/12 05:05:08 [INFO] Rancher version v2.6.8 (f650ce839) is starting
2022/09/12 05:05:08 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/09/12 05:05:08 [INFO] Listening on /tmp/log.sock
2022/09/12 05:05:08 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:10 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:12 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:14 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:16 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:18 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:20 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/09/12 05:05:28 [INFO] Running in single server mode, will not peer connections
2022/09/12 05:05:28 [INFO] Applying CRD features.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD navlinks.ui.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD clusters.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD apiservices.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD clusterregistrationtokens.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD settings.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD preferences.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD features.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD clusterrepos.catalog.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD operations.catalog.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD apps.catalog.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD fleetworkspaces.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD managedcharts.management.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD clusters.provisioning.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD clusters.provisioning.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD rkeclusters.rke.cattle.io
2022/09/12 05:05:29 [INFO] Applying CRD rkecontrolplanes.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD rkebootstraps.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD rkebootstraptemplates.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD rkecontrolplanes.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD custommachines.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD etcdsnapshots.rke.cattle.io
2022/09/12 05:05:30 [INFO] Applying CRD clusters.cluster.x-k8s.io
2022/09/12 05:05:30 [FATAL] k3s exited with: exit status 1