docker image Á¦ÀÛ(OS)
https://www.ehostidc.co.kr/cscenter/consulting.php (566)https://blog.naver.com/goethe1 (574)
1)160;현1116; OS 1060;0120;1648;화
[root@localhost160;/]# tar --numeric-owner --exclude=/proc --exclude=/sys --exclude=/boot160;--exclude=/usr/lib/firmware --exclude=/usr/lib/modules --exclude=/usr/lib/udev160;-cvf centos6.tar /
tar --numeric-owner --exclude=/proc --exclude=/sys160;--exclude=/boot --exclude=/usr/lib/firmware --exclude=/usr/lib/modules160;--exclude=/usr/lib/udev -cvf [os].tar /
160;
2)160;ǹ17;축파1068; 확1064;
160;
3) scp를 1060;용한 tar파1068; 1060;ᇼ1; (https://hub.docker.com 사1060;트를 통해 업/196;드 가능)
[root@localhost /]# scp centos6.tar [IP]:/home
160;
160;
4) image import160;0143; 확1064;
160;
5) container160;실행
root@localhost:[~]: docker run -it --name centos6 centos6 /bin/bash
* 요약
1.160; 160;160;CentOS6.5 OS1060;0120;1648; 생성(docker설치 X)
2.160; 160;160;생성.108; ǹ17;축파1068; 1060;ᇼ1; (docker가 설치.108; CentOS7/196; 1060;ᇼ1;)
3. 160; 160;CentOS7 내 1060;0120;1648; 도킹 0143; 컨테1060;너 실행
160;
µµÄ¿´Â ´ë¼¼ÀÎ°Í °°½À´Ï´Ù.
ÁÁÀº ³»¿ë °¨»çÇÕ´Ï´Ù.