목록2020/11 (34)
변군이글루

Jenkins 이용하여 Docker Image 만들기 - HowToDo.cloud를 보고 재구성하였습니다. 애플리케이션 개발 main.js // load the http module var http = require('http'); // configure our HTTP server var server = http.createServer(function (request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.end("Hello World\n"); }); // listen on localhost:8000 server.listen(8000); console.log("Server listening at htt..

docker hub login 도커 허브 로그인(-p or --password 사용) $ docker login -u sangchul -p password1234 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 도커..

젠킨스에서 도커 빌드 시 에러 + docker build -t sangchul/myapp-jenkins . Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%=null&version=1: dial unix /var/run/docker.sock: connect: permission denied 해결 방법 chmod 666 /var/run/docker.sock