Error
rajesh@ubuntu:~/tce-linux-amd64-v0.12.1$ tanzu unmanaged-cluster create one-cluster
π Created cluster directory
π§² Resolving and checking Tanzu Kubernetes release (TKr) compatibility file
projects.registry.vmware.com/tce/compatibility
Compatibility file exists at /home/rajesh/.config/tanzu/tkg/unmanaged/compatibility/projects.registry.vmware.com_tce_compatibility_v9
π§ Resolving TKr
projects.registry.vmware.com/tce/tkr:v1.22.7-2
TKr exists at /home/rajesh/.config/tanzu/tkg/unmanaged/bom/projects.registry.vmware.com_tce_tkr_v1.22.7-2
Rendered Config: /home/rajesh/.config/tanzu/tkg/unmanaged/one-cluster/config.yaml
Bootstrap Logs: /home/rajesh/.config/tanzu/tkg/unmanaged/one-cluster/bootstrap.log
π§ Processing Tanzu Kubernetes Release
π¨ Selected base image
projects.registry.vmware.com/tce/kind:v1.22.7
π¦ Selected core package repository
projects.registry.vmware.com/tce/repo-12:0.12.0
π¦ Selected additional package repositories
projects.registry.vmware.com/tce/main:0.12.0
π¦ Selected kapp-controller image bundle
projects.registry.vmware.com/tce/kapp-controller-multi-pkg:v0.30.1
π Creating cluster one-cluster
Cluster creation using kind!
β€οΈ Checkout this awesome project at https://kind.sigs.k8s.io
failed to create cluster, Error: system checks detected issues, please resolve first: [docker is not installed or not reachable. Verify it's installed, running, and your user has permissions to interact with it. Error when attempting to run docker ps: command "docker ps" failed with error: exit status 1]
Error: exit status 7
β exit status 7
Solution
You are not allowed to run / install tanzu using root user but normal user. where as normal user is allowed to run docker command which is run internally when you fire tanzu command. In order to fix this, you need to add user into a linux group called “docker”. Use following command
$ sudo gpasswd -a $USER docker
or
sudo gpasswd -a rajesh docker
and Close and open a SSH terminal again to make effective.
Latest posts by rajeshkumar (see all)
- Best DevOps is redefining the DevOps landscape - January 28, 2025
- Unlocking the Power of DevOps: How DevOps Consulting Drives Business Success - January 23, 2025
- DevOps Support: Ensuring Seamless Operations and Continuous Improvement - January 23, 2025