๊ด€๋ฆฌ ๋ฉ”๋‰ด

Dork's port

minikube ์„ค์น˜ ์ค‘ ์˜ค๋ฅ˜ ๋ณธ๋ฌธ

์นดํ…Œ๊ณ ๋ฆฌ ์—†์Œ

minikube ์„ค์น˜ ์ค‘ ์˜ค๋ฅ˜

Dork94 2022. 9. 9. 01:25

 

์—๋Ÿฌ

๐Ÿ’ฃ  Exiting due to PROVIDER_DOCKER_NEWGRP: "docker version --format -" exit status 1: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied

 

 

์‹œ๋„ 1  - ์‹คํŒจ

sudo usermod -aG docker $USER && newgrp docker
setgroups: Operation not permitted
setgid: Operation not permitted

 

 

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

sudo chmod 666 /var/run/docker.sock

 

 

์‹คํ–‰ ๊ฒฐ๊ณผ

ubuntu@localhost: ~$ minikube start --driver=docker
๐Ÿ˜„  minikube v1.26.1 on Ubuntu 20.04
โœจ  Using the docker driver based on user configuration
๐Ÿ“Œ  Using Docker driver with root privileges
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿšœ  Pulling base image ...
๐Ÿ’พ  Downloading Kubernetes v1.24.3 preload ...
    > preloaded-images-k8s-v18-v1...:  405.75 MiB / 405.75 MiB  100.00% 112.80
    > gcr.io/k8s-minikube/kicbase:  386.60 MiB / 386.61 MiB  100.00% 19.07 MiB
    > gcr.io/k8s-minikube/kicbase:  0 B [________________________] ?% ? p/s 16s
๐Ÿ”ฅ  Creating docker container (CPUs=2, Memory=7800MB) ...
๐Ÿณ  Preparing Kubernetes v1.24.3 on Docker 20.10.17 ...
    โ–ช Generating certificates and keys ...
    โ–ช Booting up control plane ...
    โ–ช Configuring RBAC rules ...
๐Ÿ”Ž  Verifying Kubernetes components...
    โ–ช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐ŸŒŸ  Enabled addons: default-storageclass, storage-provisioner
๐Ÿ’ก  kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
๐Ÿ„  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

 

0 Comments
๋Œ“๊ธ€์“ฐ๊ธฐ ํผ