Mac에서 docker host 네트워크 이용 방법
MacOS에서 docker를 실행할 때 host 네트워크와 연결하여 실행하고 싶은 경우가 있습니다. 예를들면 다음과 같은 상황인데요. 데이터베이스가 호스트(MacOS)에 설치됨도커 컨테이너에서 호스트 데이터베이스로 접속 이런 경우 도커 컨테이너는 자체 네트워크를 구성하기 때문에…
MacOS에서 docker를 실행할 때 host 네트워크와 연결하여 실행하고 싶은 경우가 있습니다. 예를들면 다음과 같은 상황인데요. 데이터베이스가 호스트(MacOS)에 설치됨도커 컨테이너에서 호스트 데이터베이스로 접속 이런 경우 도커 컨테이너는 자체 네트워크를 구성하기 때문에…
맥북에서 Homebrew를 이용해 mysql 설치 후 root 로그인하려고 할 때 위와 같은 오류가 계속 나오는 경우 해결방법입니다. 우선 기존 설치된 MySQL을 삭제합니다. (데이터 백업이 필요 없을 경우입니다.) MySQL 서비스 종류…
macOS 터미널에서 ls 명령을 사용하여 디렉토리와 파일 리스트를 출력하면 기본으로 색상 설정 없이 출력된다. 디렉토리와 파일들을 구분하여 색상을 표시하고 싶은 경우 bash_profile을 아래와 같이 수정하여 사용할 수 있다. vi ~/.bash_profile…
AWS CLI 2.0 설치 $ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" $ sudo installer -pkg AWSCLIV2.pkg -target / 설치확인 aws cli가 정상적으로 설치되면 aws 명령 사용이 가능하다. 아래와 같이 aws --version 명령으로…
설치 $ brew install gstreamer gst-plugins-base gst-plugins-good 테스트 명령 $ gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink
https://stackoverflow.com/questions/44417159/docker-process-killed-with-cryptic-killed-message
pyenv 명령을 사용하면 여러 버전의 python 설치가 가능하다. $ pyenv install 3.7.5 위 명령으로 설치를 하면 다음과 같이 설치 버전들을 확인 할 수 있다. $ python versions /usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open…
다운로드 사이트 https://store.unity.com/kr/download?ref=personal 위 사이트에서 'Unity HUB 다운로드'를 클릭하면 UnityHubSetup 파일을 다운로드 할 수 있다.
Homebrew 설치 시 다음과 같은 에러가 발생했다. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" curl: (60) SSL certificate problem: Untrusted root certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification…