2026, 새로운 도약을 시작합니다.

Docker에 CentOS

sudo docker search centos  centos 이미지를 허브에서 찾아 보면..

57a85b1cef5a5439e813f17d1d782e30_1482615522_9231.JPG 

sudo docker pull centos 로 latest tag를 가져옵니다. (약 70메가 정도..)

57a85b1cef5a5439e813f17d1d782e30_1482615622_7437.JPG 

sudo docker run -it --name youngcart centos bash

https://docs.docker.com/engine/reference/commandline/run/

57a85b1cef5a5439e813f17d1d782e30_1482615943_6563.JPG 

버전 체크를 해 보면.. 7.3.1611이 나오네요..

57a85b1cef5a5439e813f17d1d782e30_1482616190_2632.JPG 

여기에 아래의 Dockerfile에 있는 것을 테스트해보니..

https://github.com/wrender/centos-lamp

https://hub.docker.com/r/andrewklau/centos-lamp/ 

https://github.com/andrewklau/docker-centos-lamp

yum -y install httpd 에서 에러가 나네요..  

https://hub.docker.com/r/centos/httpd/builds/bmjn5nzj2xv683uoem6mckr/  의 중간쯤.. 


Error unpacking rpm package httpd-2.4.6-40.el7.centos.x86_64[0m[91m [0m error: unpacking of archive failed on file /usr/sbin/suexec: cpio: cap_set_file error: httpd-2.4.6-40.el7.centos.x86_64: install failed

오늘은 여기까지로 부지런히 세월엑스를 봐야됩니다. 

|

댓글 1개

https://github.com/fauria/docker-lamp Ubuntu 16.04로 이미지는 만들어지네요.. 동작되는지 확인을 못했습니다.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

앱개발

번호 분류 제목 글쓴이 날짜 조회
758 Android 5개월 전 조회 292
757 Hybrid 7개월 전 조회 347
756 기타 2년 전 조회 1,351
755 Hybrid 2년 전 조회 1,618
754 Hybrid 2년 전 조회 2,451
753 Android 2년 전 조회 1,282
752 기타 3년 전 조회 1,443
751 Hybrid 3년 전 조회 1,158
750 Hybrid 3년 전 조회 2,441
749 Hybrid 3년 전 조회 1,605
748 IOS 3년 전 조회 2,156
747 기타 3년 전 조회 1,712
746 기타 3년 전 조회 1,791
745 IOS 3년 전 조회 1,679
744 기타
[기타]
3년 전 조회 1,198
743 Hybrid 3년 전 조회 1,579
742 기타 3년 전 조회 1,896
741 기타 3년 전 조회 1,618
740 기타 3년 전 조회 1,428
739 기타 4년 전 조회 1,944
738 Android 4년 전 조회 2,342
737 Hybrid 4년 전 조회 1,728
736 Android 4년 전 조회 1,759
735 기타 4년 전 조회 1,967
734 IOS 4년 전 조회 1,676
733 기타 4년 전 조회 1,739
732 기타 4년 전 조회 2,085
731 기타 4년 전 조회 1만
730 기타 4년 전 조회 2,386
729 기타
[기타]
4년 전 조회 2,138
🐛 버그신고