Mac에서 docker host 네트워크 이용 방법

MacOS에서 docker를 실행할 때 host 네트워크와 연결하여 실행하고 싶은 경우가 있습니다. 예를들면 다음과 같은 상황인데요. 데이터베이스가 호스트(MacOS)에 설치됨도커 컨테이너에서 호스트 데이터베이스로 접속 이런 경우 도커 컨테이너는 자체 네트워크를 구성하기 때문에…

0 Comments

macOS 터미널 LS 명령어 색상 설정

macOS 터미널에서 ls 명령을 사용하여 디렉토리와 파일 리스트를 출력하면 기본으로 색상 설정 없이 출력된다. 디렉토리와 파일들을 구분하여 색상을 표시하고 싶은 경우 bash_profile을 아래와 같이 수정하여 사용할 수 있다. vi ~/.bash_profile…

0 Comments

macOS AWS CLI 2.0 설치

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 명령으로…

0 Comments

Mac에서 pyenv,pycharm python 개발 환경 세팅하기

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…

0 Comments

Mac에 Unity 설치하기

다운로드 사이트 https://store.unity.com/kr/download?ref=personal 위 사이트에서 'Unity HUB 다운로드'를 클릭하면 UnityHubSetup 파일을 다운로드 할 수 있다.

0 Comments

Mac OS Homebrew 설치 시 인증서 에러

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…

0 Comments