반응형

apache 2.4 설치

docker run -dit -p 80:80 -v /home/ubuntu/apache:/usr/local/apache2/htdocs --name apache httpd:2.4

tomcat 8 설치

docker run -dit -p 8080:8080 -v /home/ubuntu/tomcat:/usr/local/tomcat/webapps --name tomcat8 tomcat:8.0

jenkins 설치

docker run -d -p 8080:8080 -v /home/ubuntu/.jenkins:/var/jenkins_home -u root --name jenkins jenkins

gradle 빌드

docker run --rm -u gradle -v ${PWD}:/project -w /project gradle:7.6.0-jdk17-alpine gradle clean bootJar -x test
반응형

'Development > Docker' 카테고리의 다른 글

[Docker] Docker Private Registry 사용하기  (0) 2023.01.15
[Docker] Dockerfile 예시  (0) 2020.12.28
[Docker] Dockerfile로 이미지 설치하기  (0) 2019.05.19
[Docker] 명령어  (0) 2019.05.19
[Docker] 설치  (0) 2019.05.19

+ Recent posts