티스토리 뷰
From Docker v0.9, libcontainer become default driver to control cgroups,selinux and so on instead of LXC. This official docket team blog announced this change. However, it is not mature yet compared to LXC aspect of networking. Moreover, some feature which was used is not supported by libcontainer. That's why Docker team still supports LXC driver and they say " we continue to support the LXC driver going forward. "
To switch back to the LXC driver, simply restart the Docker daemon with docker -d -e lxc.
# vi /etc/sysconfig/docker (or vi /usr/lib/systemd/system/docker.service) ~~ other_args="--selinux-enabled -e lxc -b none" ~~ or ~~ ExecStart=/usr/bin/docker -d --selinux-enabled -e lxc -b none -H fd:// ~~ |
When you change it to lxc as a default driver and try to use "--n=false" with docker run command, you might see " --n is deprecated". I am not sure it is also changed to another option but I assume it is "--net". However, it is not quitely same as the option.
In addition, if you use "--net=false" with "-h", you also might encounter " conflict issue: --net and -h can not use together". This is a bug and it is fixed in latest version "v1.1.2"
'IT > Docker' 카테고리의 다른 글
도커에 고정 아이피 할당하기 (1) | 2015.04.20 |
---|---|
Assign ip to Docker container using network namespace. (0) | 2015.04.09 |
[Docker] Testing Environment for clustered Wildfly using DNS (2) (0) | 2014.07.31 |
[Docker] Testing Environment for clustered Wildfly using DNS (1) (2) | 2014.07.31 |
[Docker] Default Helper Scripts & files - Korean (0) | 2014.07.29 |
- Total
- Today
- Yesterday
- cert
- 벌링턴
- 정착서비스
- Jay
- ansible
- 캐나다부동산
- 부동산분석
- 온타리오
- BTBS
- BC주
- basement
- 캐나다
- redhat
- Certificate
- 토론토
- RHEL
- docker
- 밀튼
- 부모님초청이민
- 토론토정착서비스
- Canada
- certification
- 인터넷
- 우드워킹
- TORONTO
- RHCE
- 미시사가
- git proGit
- Red Hat
- 옥빌
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |