일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- VPC
- 커피머니불리기
- 포인트앱
- 후기
- MongoDB
- clone
- namespace
- aws codecommit
- Linux
- MongoEngine
- 도커
- 리뷰
- docker
- codecommit
- 토스카드
- AWS
- docker network
- 하나머니
- Python
- mininet
- built-in
- DocumentDB
- 앱테크
- 실사용
- S3
- 재테크
- 리워드앱
- python3
- Container
- network
- Today
- Total
목록2016/07 (6)
ㅍㅍㅋㄷ
python map() 함수 python docs 의 map 함수에 대한 정의를 보자. map(function, iterable, ...) Apply function to every item of iterable and return a list of the results. If additional iterable arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. If one iterable is shorter than another it is assumed to be extended with None items. If function is ..
python range() 와 xrange() 차이 * python 2.X 기준 입니다. 해당 포스팅은 python 2를 기반으로 한 내용이다.python 3 에서는 range() 와 xrange() 가 통합되어 range() 만 제공되며, 그 특성은 xrange() 와 동일하다. range() 먼저, python docs 에서 range() 함수에 대한 설명을 보자. range(start, stop[, step]) This is a versatile function to create lists containing arithmetic progressions. It is most often used in for loops. The arguments must be plain integers. If the s..
Python Generator 먼저 python docs 의 generator 에 대한 정의를 보자. generator A function which returns an iterator. It looks like a normal function except that it contains yield statements for producing a series of values usable in a for-loop or that can be retrieved one at a time with the next() function. Each yield temporarily suspends processing, remembering the location execution state (including local..
Python iterable과 iterator의 의미 Iterable (이터러블) iterable에 대한 python docs의 정의를 보자. Iterable An object capable of returning its members one at a time. Examples of iterables include all sequence types (such as list, str, and tuple) and some non-sequence types like dict and file and objects of any classes you define with an __iter__() or __getitem__() method. Iterables can be used in a for loop and in..
Docker Network 구조 (4) - Container link 구조 [Contents] 1. Docker Network 구조(1) - docker0와 container network 구조 2. Docker Network 구조(2) - Container network 방식 4가지 3. Docker Network 구조(3) - Container 외부 통신 구조 4. Docker Network 구조(4) - Container link 구조 web 서버 역할의 컨테이너와 DB 서버 역할의 컨테이너가 있다고 가정해 보자. 만약, 이 두 container 사이를 연동하고 싶을때는 어떻게 해야 할까. 이번 포스팅에는 container 사이 연동에 필요한 link 옵션에 대한 사용법과 동작 구조에 대해 알아보고..
Docker Network 구조(3) - Container 외부 통신 구조 [Contents] 1. Docker Network 구조(1) - docker0와 container network 구조 2. Docker Network 구조(2) - Container network 방식 4가지 3. Docker Network 구조(3) - Container 외부 통신 구조 4. Docker Network 구조(4) - Container link 구조 Docker host에 container 가 배포되면 각 container 에는 격리된 네트워크 환경(namespace)이 제공된다. 이 네트워크 환경은 오로지 각각의 container 만을 위한 네트워크 환경이다. 각 container에는 통신을 위한 인터페이스도 ..