[Docker] executor failed running [/bin/sh -c apt-get update]: exit code: 100 에러
도커이미지 빌드시 실패한 이력이 있어서 빌드가 안됨 빌드 옵션에 --no-cache 사용할 것
도커이미지 빌드시 실패한 이력이 있어서 빌드가 안됨 빌드 옵션에 --no-cache 사용할 것
https://code.visualstudio.com/download Download Visual Studio Code - Mac, Linux, Windows Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. code.visualstudio.com
Run as administrator dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
https://www.docker.com/get-started/ Developers - Docker Developer productivity tools and a local Kubernetes environment. www.docker.com Click Download for Windows
제어판 열기 하드웨어 및 소리 클릭 장치관리자 클릭 디스플레이 어댑터 클릭 그래픽 드라이버 우클릭 후 "드라이버업데이트" 클릭 드라이버 업데이트 클릭 드라이버 자동검색 클릭
docker network ls 새로운 네트워크가 생겼을 때는 다음과 같이 조회된다 docker network ls
failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: `` 이런 에러가 발생할 때가 있다. 나의 경우에는 내가 가진 도커파일로 이미지를 만들 때 발생하는데, VSCode 터미널로 작업한다. 이 때 VSCode를 껏다가 다시키고, 빌드를 하면 정상동작하는 것을 확인할 수 있따
도커 파일을 실행하다가 다음과 같은 에러가 발생했다. 아무래도 권한 문제인 것 같다. 내 폴더의 구조는 다음과 같다. 내가 만든 build 쉘 스크립트 파일을 통해서 도커 이미지를 만들려고 했으나, 에러가 발생했다. 그래서 권한을 확인한다. 내부에 있는 쉘 스크립트 파일의 읽기쓰기 권한이 이상하다. 그래서 최상위 폴더인 node-exporter 라는 폴더의 하위폴더까지 모든 권한을 줘보자. Dockerfile과 docker-compose 파일에도 모든 권한을 주자. chmod -R 755 node-exporter chmod 755 Dockerfile chmod 755 docker-compose.yml ll 이제 하위폴더까지 바뀌었는지 확인해보자 이제 다시 빌드를 해보자 잘된다.. 권한 문제였다!
우분투를 사용하는데, 현재 내 우분투가 사용하는 포트가 궁금해서 명령어를 입력했더니 다음과 같은 에러가 발생했다. netstat -tnlp | grep "LISTEN" Command 'netstat' not found, but can be installed with: sudo apt install net-tools 이건 netstat라는 명령어가 설치 안됐다는 이야기인데, 설치해보자. sudo apt-get install net-tools 다시 명령어를 입력해보자 netstat -tnlp | grep "LISTEN" 잘 확인된다.