TechNote.kr

  • 홈
  • 태그

apt 2

[Docker][해결방법] WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Dockerfile 내에서 apt 를 사용하면 "WARNING: apt does not have a stable CLI interface. Use with caution in scripts." 문구가 출력된다. apt 명령어의 경우 사용자와의 interaction 에 중점을 둔 CLI 이기에 script 내에서 사용하기에 부적절하다는 에러로 apt-get 등의 명령어로 대체하여 사용하면 된다. apt 명령어별 대체 CLI는 apt의 manpage 에서 확인 가능하다. update (apt-get(8)) upgrade (apt-get(8)) full-upgrade (apt-get(8)) install, reinstall, remove, purge (apt-get(8)) autoremove (apt-get(..

Products & Services/Docker 2021.02.21

Ubuntu - repository(저장소) 변경하기

Ubuntu를 통해 Package 를 Update 하다보면 설정되어 있는 저장소(repository) 외에 다운로드 속도등의 문제로 다른 저장소에서 받고 싶을 때가 있다. 자주 사용하는 저장소가 있다면 아래 경로의 저장소 주소를 바로 수정도 가능하다. # /etc/apt/sources.list 하지만 저장소 주소를 항시 외우고 있는 경우가 없기 때문에 이때는 Ubuntu의 "Software & Updates" 에서 제공해 주는 저장소 (repository) 변경 기능을 사용하면 유용하다. 1) 검색을 통해 Software & Updates 를 실행한다. 2) "Ubuntu Software" tab 에서 "Download from:" 의 combobox 를 열고, Other... 항목을 선택한다. 3) 사..

OS/Linux 2019.11.11
1
더보기
  • TechNote.
    • Android
    • Language
      • R
      • C
      • Java
      • Python
      • Kotlin
      • HTML
      • Javascript
      • nvd3.js
      • Node.js
    • OS
      • Windows
      • Linux
      • Mac
      • OpenWRT, LEDE
    • Network
      • Wi-Fi
    • Products & Services
      • Django
      • AmazonWebService (AWS)
      • VirtualBox
      • Adsense
      • WordPress
      • Tistory
      • VS Code
      • Docker
    • Database
    • Application
      • KidsTube
      • Notepad++
    • Computer architecture
    • Software architecture
    • ETC

최근글과 인기글

  • 최근글
  • 인기글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바