반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 네트워크
- Python
- 컨테이너
- k8s
- AWS
- centOS
- 리눅스
- centOS7
- NGINX
- swift 클로저
- ios
- kubernetes
- 데브옵스
- 도커
- 프로세스
- os
- Swift
- 인프라
- 부스트코스
- 쿠버네티스
- devops
- 클라우드
- docker
- 도커 컨테이너
- 운영체제
- boj
- 도커 이미지
- 도커 명령어
- linux
- C++
Archives
- Today
- Total
목록도커 볼륨 (1)
귀염둥이의 메모

Bind Mount docker run --volume [호스트경로]:[컨테이너 내 경로] 옵션 Z : SELinux 문제 해결 ro : 볼륨을 읽기 전용으로 마운트 호스트 OS ~/bindmount 를 컨테이너 /tmp/bindmount 로 마운트 [user@harbor ~]$ mkdir bindmount [user@harbor ~]$ touch bindmount/hello.txt docker run -dit --name bind-mount-test \ --rm \ --volume ~/bindmount:/tmp/bindmount \ centos:latest read-only docker run -dit --name read-only-test \ --rm \ --volume ~/bindmount:/tmp..
Infra & Devops/Docker
2021. 9. 17. 19:34