Giter Club home page Giter Club logo

pharmacy-recommendation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pharmacy-recommendation's Issues

docker compose 사용시 conflict 및 변경사항 반영 안되는 issue

도커 컴포즈 실습을 할 때, 기존에 미리 생성해두었던 이미지, 컨테이너로 인하여 conflict 및 변경사항이 반영 안되는 이슈가 있다면
아래 내용을 확인하면 됩니다.

강의에서 아래 명령어로 도커 파일들을 이미지로 빌드 후 컨테이너로 실행 했습니다.

$ docker-compose -f docker-compose-local.yml up 

위 명령어는 기본적으로 기존에 빌드 되었던 이미지가 있다면, 해당 이미지를 이용하여 컨테이너를 생성합니다.
따라서, 변경사항이 있다면 반영이 안될 수 있기 때문에 build 옵션을 추가하여 기존에 이미지와 상관없이
항상 빌드 하도록 추가하면 됩니다.

$ docker-compose -f docker-compose-local.yml up --build

또한, 여러 실습을 진행하다보면 컨테이너 간의 conflict가 발생할 수 있습니다.
아래 명령어를 통해 현재 사용하지 않는 리소스를 정리할 수 있으니 참고하면 좋을 것 같습니다.

  • 멈춰있는 컨테이너 제거
  • 컨테이너에서 사용되지 않는 네트워크 제거
  • 불필요한 이미지 및 빌드 캐시 제거
$ docker system prune

아래는 도커 컴포즈 백그라운드 모드로 실행하는 옵션과,
사용 종료 후 모든 컨테이너를 종료 및 정리하는 명령어입니다.

$ docker-compose -f docker-compose-local.yml up -d  // 백그라운드로 실행 
$ docker-compose -f docker-compose-local.yml down  // 모든 컨테이너 종료 및 정리

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.