본문 바로가기

프로그래밍 툴

(6)
ngrok로 로컬호스트 외부에서 접속하기 installation download file (e.g., ngrok-stable-linux-amd64.zip) from here extract compressed file locate it where PATH is set up so it can be available anywhere, e.g., /usr/local/bin implementation ngrok http # e.g., for jenkins docker container created as below $ docker run --name jenkins \ -d -p 8888:8080 \ -v jenkins_home:/var/jenkins_home \ jenkinsci/blueocean # run ngrok as below: $ ngrok h..
Docker(도커)-Dockerfile Dockerfile excerpted from Docker Up and Running # Base layer to start the image build with FROM node:0.10 # populates `Author` field in image's metadata MAINTAINER Anna Doe # populates `Config`/`Labels` fields LABEL "rating"="Five Stars" "class"="First Class" # By default, processes within container run as root # recommended to switch to non-privileged user in production USER root ENV AP /data/a..
Docker(도커)-images Docker following Docker Deep Dive image naming and pulling pull docker image pull : # if pulling from third-party registries # docker image pull /: # the tag `latest` may not refer to the latest version of the repository # because the repository may use a different tag name for the latest version or use `latest` to an older version. # pull all images of repository docker image pull -a inspect # ..
Docker (도커)- basics Docker following Docker Deep Dive Create a non-root user sudo usermod -aG docker # confirm cat /etc/group | grep docker docker:x:998:dev Basic commands docker version Client: Version: 18.09.4 API version: 1.39 Go version: go1.10.8 Git commit: d14af54 Built: Wed Mar 27 18:34:51 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 18.09.4 API version: 1...
vs code Installation sudo dpkg -i code_1.26.0-1534177765_amd64.deb Shortcuts Keyboard Shortcut: ctrl+shift+p line break: \ markdown render: ctrl+shift+v Toggle the terminal window: `CTRL+`` CTRL+SHIFT+V - Preview Markdown Set conda environment per project python select interpreter Custom VS Code Snippets (Reference) File > Preferences (Code > Preferences on macOS) > User Snippets # or Ctrl + Shift + p >..
마크다운 Markdown Headers tag by "#" tag by "##" tag by "###" tag by "######" Alternatively, for H1 and H2, an underline-ish style: Alt-H1 by "=====" Alt-H2 by "-----" Emphasis Raw Rendered *This text will be italic* This text will be italic _This will also be italic_ This will also be italic **This text will be bold** This text will be bold __This will also be bold__ This will also be bold _You **can** combine t..