AWS 도커 설치하기
https://docs.aws.amazon.com/ko_kr/AmazonECS/latest/developerguide/docker-basics.html
[docker] 컨테이너 백그라운드 실행과 종료.
http://home.zany.kr:9003/board/bView.asp?bCode=13&aCode=14135&cBlock=0&cPageNo=1&sType=0&sString=
아래는 -itd 옵션에 대한 설명이다.
tty 사용을 위해서 -it 옵션은 무조건 주어야 하고,
컨테이너를 백그라운드로 띄울 것인지만 -d 옵션을 사용하여 선택적으로 적용하면 된다.
여기서는 컨테이너를 백그라운드로 실행할 것이므로 -itd 옵션을 사용할 것이다.
docker run -itd [image-id] /bin/bash
-i, --interactive : Keep STDIN open even if not attached
-t, --tty : Allocate a pseudo-TTY
-d, --detach : Run container in background and print container ID
[zany@zany-mbp ~]$ docker run -itd 8032edd0e365 /bin/bash
ca006a7319393f06af1659bed3282e194ead662c212ff007e41b622187eca527
[zany@zany-mbp ~]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ca006a731939 8032edd0e365 "/bin/bash" 6 seconds ago Up 5 seconds blissful_golick
|
Jenkins/github/maven 으로 빌드&배포하기-3/4
https://dukeom.wordpress.com/2017/03/20/jenkinsgithubmaven-%EC%9C%BC%EB%A1%9C-%EB%B9%8C%EB%93%9C%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0-34/
Jenkins 설치 그리고 svn + tomcat + maven 자동 빌드 배포 설정
http://hjw1456.tistory.com/21
13. 리눅스(CentOS) 개발 놀이터 만들기 - Jenkins 와 gitlab 연동 및 Tomcat배포 자동화
http://cionman.tistory.com/34
How to solve Docker permission error when trigger by Jenkins
https://stackoverflow.com/questions/44444099/how-to-solve-docker-permission-error-when-trigger-by-jenkins
| In your VPS server terminal, do this to add your jenkins user to the docker group: sudo usermod -aG docker jenkins
Then restart your jenkins server to refresh the group. Take into account any security issue that this could produce: Warning: The docker group grants privileges equivalent to the root user. For details on how this impacts security in your system, see Docker Daemon Attack Surface.
|
Just make sure to restart the Jenkins from command-line (i.e. sudo service jenkins restart)
Jenkin 설치 및 설정하기
http://sayingublog.blogspot.kr/2015/06/jenkin.html