System has not been booted with systemd as init system (PID 1). Can't operate

์œ ๋น„๋น…ยท2021๋…„ 6์›” 11์ผ
0

๐Ÿ’กSystem has not been booted with systemd as init system (PID 1). Can't operate
์„ค์น˜ ํ›„ ์˜ค๋ฅ˜๊ฐ€ ๊ณ„์† ๋œจ๊ณ  ์‹คํ–‰์ด ์•ˆ ๋จ

sudo /etc/init.d/docker start or sudo service docker start or /etc/init.d/docker start
sudo service
์‹คํ–‰ ์‹œ ์ž‘๋™

docker.io๊ณต์‹ ์šฐ๋ถ„ํˆฌ ์ €์žฅ์†Œ ์˜ ํŒจํ‚ค์ง€ ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๊ฒฝ์šฐ
$ sudo dockerd

๐Ÿ’กGot permission denied while trying to connect to the Docker daemon socket at
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.40/containers/json?all=1: dial unix /var/run/docker.sock: connect: permission denied

sudo chmod 666 /var/run/docker.sock

0๊ฐœ์˜ ๋Œ“๊ธ€