Code Monkey home page Code Monkey logo

jenkins_dind's Introduction

Jenkins Docker (Docker in Docker, docker-compose)

how to use

Preparations

docker-compose 를 이용하기 위해서 다운 받아야 된다.

curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)"

컨테이너 안에서 다운 받으면 너무 느리기 때문에 미리 다운받은 후 mount, link 시키도록 하자.

Build

docker-compose build --no-cache --pull
  • --no-cache : 빌드 내용을 캐싱 하지 않겠다는 것이다.
  • --pull : 이미지 밀어 넣어버리기

Run

docker-compose run -d
  • -d : --detach 의 약자로 백그라운드로 실행하겠다는 의미이다.

TEST

localhost:8200

port 번호는 .env 파일을 통해 변경할 수 있다.

Shutdown

docker-compose down

jenkins_dind's People

Contributors

dongonee avatar

Watchers

 avatar  avatar

Forkers

icxldd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.