강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của jn09202317
jn09202317

câu hỏi đã được viết

Cần thiết khi sử dụng Docker! Docker Soạn

Ưu điểm 1 của Docker Compose - Nó có thể thay thế các lệnh Docker phức tạp

docker 설치 후 첫 실행 시 docker.sock. 에러

Đã giải quyết

Viết

·

892

·

Đã chỉnh sửa

0

mac os 로컬에 터미널로 아래와 같이 설치를 했습니다.

desktop 버전을 설치하지 않은 이유는,

현재 사내 업무용 맥북으로 개인실습을 하고 있어서 docker for desktop 버전을 사용할 수 없기 때문입니다 ! ㅜ

$ brew install docker
$ brew install docker-compose

첫 실행 시에 아래와 같은 에러로 진행이 안됩니다ㅜ 구글링해서 시도했던건,

$ docker run -it -p 8080:80 nginx
docker: Cannot connect to the Docker daemon at unix:///Users/.docker/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
$ dockerd -H /var/run/docker.sock
zsh: command not found: dockerd

$ sudo systemctl status docker
sudo: systemctl: command not found

$ systemd
zsh: command not found: systemd

계속해서 systemd가 없다고 해서 systemd를 설치를 시도했는데

이에 대해서도 에러가 나오더라고요ㅜ Error: systemd: Unsatisfied requirements failed this build.

$ brew install systemd

Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 5 taps (homebrew/cask-fonts, homebrew/services, caskroom/cask, homebrew/core and homebrew/cask).
==> New Formulae
biome                      gotestwaf                  mtbl                       sqlsmith
blake3                     helidon                    numbat                     squiid
build2                     iocextract                 orcania                    tailwindcss
caracal                    ldeep                      postgresql@16              uffizzi
checkdmarc                 libimobiledevice-glue      pter                       web-ext
colmap                     libmapper                  qalculate-qt               yder
dovi_tool                  llvm@16                    recoverpy
ggshield                   modsecurity                scoutsuite
==> New Casks
akuity                cloudnet              meld-studio           proxy-audio-device    telegram-a
akuity                dropshelf             meld-studio           reqable               telegram-a
ava                   dropshelf             mutedeck              reqable               to-audio-converter
ava                   ecodms-client         mutedeck              routine               to-audio-converter
batteryboi            ecodms-client         muyu                  routine               twelite-stage
batteryboi            expo-orbit            muyu                  rustrover             twelite-stage
chainner              expo-orbit            paulxstretch          rustrover             wetype
chainner              finbar                paulxstretch          sf                    wetype
clinq                 finbar                playdate-mirror       sf
clinq                 font-gabarito         playdate-mirror       spundle
cloudnet              font-pixelify-sans    proxy-audio-device    spundle

You have 23 outdated formulae installed.

systemd: Linux is required for this software.
libcap: Linux is required for this software.
Error: systemd: Unsatisfied requirements failed this build.

구글링해보니 `launchctl` 가 설치되어있는 사용자에 대해서

이런 증상이 나오는 것 같습니다.

저도 `launchctl`에 대해선 설치가 되어있는걸로 확인했는데..

어떻게 해야 해결이 될지 도움을 요청드립니다 !

dockerdockerd

Câu trả lời 2

1

jn09202317님의 프로필 이미지
jn09202317
Người đặt câu hỏi

minikube 로 해결했습니다 :)

감사합니다.

0

alankim님의 프로필 이미지
alankim
Người chia sẻ kiến thức

안녕하세요. 제가 최근에 인프런에 접속을 하지 못했어서 질문을 이제야 봤네요.

답변이 늦어 죄송해요.


minikube로 해결하셨다니 다행이예요.
직접 해결할 정도로 성장한 스스로를 칭찬해주셔도 좋겠어요. ^^

Hình ảnh hồ sơ của jn09202317
jn09202317

câu hỏi đã được viết

Đặt câu hỏi