안녕하세요! 먼저 정말 유익한 강의 감사합니다. 깃허브 오픈소스의 리드미 파일이나 블로그에서는 주로 아래와 같은 명령어가 보였습니다. sudo docker-compose up -d 그런데 강의에서 보이는 명령어는 docker와 compose 사이에 대쉬('-')가 보이지 않는데요. Docker의 버전이 올라가면서 명령어도 바뀐건가요?
제가 이미 VSC에 깃허브 로그인이 되어있었고 커밋 푸시를 했는데도 액션이 실행이 안되었는데, 아래 글을 보고 해결했습니다. 08-cicd 브랜치 터미널에서 다음 <내용> 칸에 본인에 맞는 값을 채운뒤 실행하면 됩니다. git remote set-url origin https://<personal_access_token>@github.com/<your_username>/leafy.git https://stackoverflow.com/questions/66231282/how-to-add-a-github-personal-access-token-to-visual-studio-code
안녕하세요 Daniel 선생님 왜 갑자기 remote tunnel 접속의 오류가 발생하는 걸까요!? 지난 주까지 강의 Module 7 과정을 잘 완료 했습니다. 그리고 오늘 Module 8을 학습을 위해서 아래 처럼, SSH 로그인 하고 이미 설정된 순서대로 remote tunnel방식으로 connection을 여러번 시도하지만 안 됩니다. 다음과 같이 애러 메시지가 나옵니다. 'Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)' vs ext - Remote Tunnels version 입니다. 의견을 부탁 드립니다. 감사합니다. 몇일 동안 shut-down을 걸어 뒀다가 오늘 다시 서버를 가동했는데요. 누락한 절차가 있을까요? 직접 remote desktop으로 서버로 접속하는데는 문제가 없었습니다.
안녕하세요. 이미지 레지스트리 실습을 따라가던 도중에 개인 레포지토리에 올린 이미지를 run할 때 WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested 해당 경고가 뜨고, 컨테이너가 계속해서 바로 종료됩니다.
아래의 순서로 쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다. apt-get install -y apt-transport-https ca-certificates curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list deb https://apt.kubernetes.io/ kubernetes-focal main EOF apt-get update [에러 로그] =================================================================== Err:7 https://packages.cloud.google.com/apt kubernetes-focal Release 404 Not Found [IP: 172.217.164.110 443] Reading package lists... Done E: The repository 'https://apt.kubernetes.io kubernetes-focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details =================================================================== 답변 부탁드립니다. 감사합니다. 수고하세요.
쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다. 쿠버네티스 설치 명령어 순서 apt-get install -y apt-transport-https ca-certificates curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list deb https://apt.kubernetes.io/ kubernetes-xenial main EOF apt-get update apt-get update 명령어를 사용하면 404 에러가 뜨고 있습니다. root@k8s-master:/home/vagrant# apt-get install -y apt-transport-https ca-certificates curl Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version (20230311ubuntu0.20.04.1). The following NEW packages will be installed: apt-transport-https The following packages will be upgraded: curl libcurl4 2 upgraded, 1 newly installed, 0 to remove and 99 not upgraded. Need to get 398 kB of archives. After this operation, 162 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.10 [1,704 B] Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.21 [161 kB] Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.21 [235 kB] Fetched 398 kB in 4s (110 kB/s) Selecting previously unselected package apt-transport-https. (Reading database ... 112280 files and directories currently installed.) Preparing to unpack .../apt-transport-https_2.0.10_all.deb ... Unpacking apt-transport-https (2.0.10) ... Preparing to unpack .../curl_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking curl (7.68.0-1ubuntu2.21) over (7.68.0-1ubuntu2.19) ... Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.21) over (7.68.0-1ubuntu2.19) ... Setting up apt-transport-https (2.0.10) ... Setting up libcurl4:amd64 (7.68.0-1ubuntu2.21) ... Setting up curl (7.68.0-1ubuntu2.21) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... root@k8s-master:/home/vagrant# curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - OK root@k8s-master:/home/vagrant# cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list > deb https://apt.kubernetes.io/ kubernetes-xenial main > EOF deb https://apt.kubernetes.io/ kubernetes-xenial main root@k8s-master:/home/vagrant# apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 https://download.docker.com/linux/ubuntu focal InRelease Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease Err:7 https://packages.cloud.google.com/apt kubernetes-xenial Release 404 Not Found [IP: 142.251.214.142 443] Reading package lists... Done E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
환경 문제 관련 문의 드립니다. 문제 1. docker desktop에서 login을 시도하면 WebBrowser에 아래와 같은 화면이 나오고, Desktop에서는 아래와 같이 login을 준비하지만, login이 되지 못하고 logout되는 현상이 있습니다. 이에 git bash 에서 login을 하려고 해도 아래와 같은 메시지가 나옵니다. $ docker login Error: Cannot perform an interactive login from a non TTY device OS는 : Windows11이고 Docker desktop version : 4.28.0 입니다.
Dockerfile을 만들때 RUN 지시어에서 npm install 을 하는 것은 node module 폴더가 build context에 없기 때문인건가요? 만약에 build context 폴더에서 npm install 명령으로 node module 에 라이브러리들을 다운 받은 상태에서 Dockerfile 에서 COPY 명령으로 ./ / 를 작성하면 node module 도 그대로 복사가 되고 그러면 굳이 RUN 명령어로 npm install을 안해도 되는건가요?
안녕하세요, 다니엘 선생님 강의 재미있게 따라가고 있습니다. Remote Tunnel 방식으로 로컬 환경과 가상 머신의 연결하는 설정 과정에서 sign in with github를 해주는 이유는 무엇인가요? SSH를 연결 후에, Remote Tunnel 연결하는 하는 것으로 이해 했는데요. Github 인증하는 부분이 조금 이해가 안 됩니다.
안녕하세요, 다니엘 선생님 VM에서 /home/{user}/Kaggle-python-gpu-env 폴더를 생성하고 그 하위에 도커파일을 만들고 dev containers 확장기능을 이용해서 리빌드하면 도커 빌드 및 컨테이너가 배포되어 자동으로 진행되어 파이선 개발 환경 (A)가 만들어 진 것으로 이해했습니다. 개념이 맞을까요? 그렇다면, 또 다른 신규 폴더를 생성하고 위의 과정을 동일하게 반복한다면 또 다른 개발환경(B)가 만들어지는 건가요? 이런 식으로 여러 개의 컨테이너가 배포가 되어 개발 환경을 만들 있는 건가요?
이번 강의에서 "데이터베이스 컨테이너는포트포워딩이 없어 외부에서 접근 불가"라고 하셨습니다. 그렇다면, docker run --name nginx nginx 이 코드 실행 시에 nginx 컨테이너에 할당 받은 ip주소는 가상 Ip주소이므로 nginx 컨테이너에 대해 url로 접근은 아예 못하는 건가요??
안녕하세요 좋은 강의 잘 듣고 있습니다 :) 강의 내용대로 VScode랑 컨테이너에 마운트해서 잘 실행되는거 까지 확인했습니다! 그런데 핫 리로드(?) 인가요 변경 사항을 저장하거나 새로고침을 눌러도 반영이 안되고 npm run serve로 다시 실행을 해야 하더라구요 혹시 따로 추가를 해야하는 사항이 있을까요?
안녕하세요, 선생님. vm 접속해서 nvidia driver 설치 여부를 확인 했는데요. nvidia driver 설치가 되지 않은 것 같습니다. 어떻게 조치를 할 수 있을까요? 아래 내용 참고 부탁 드려요. 1) 아래는 명령어 답변 메시지 입니다. kaggle-linux-gpu-vm:~$ nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 2) vm 환경 사양 입니다.
안녕하세요 강의 잘 보고 있습니다. 다름이 아니라 도커 파일의 'WORKDIR' 관련하여 궁금한 점이 생겨 질문을 드립니다. 현재 강의에서 사용하고 있는 도커 파일은 위와 같습니다. 그리고 WORKDIR 명령어를 통해 먼저 경로를 지정해줍니다. 그러나 node 14버전 이미지를 통해 생성한 컨테이너를 직접 확인해본 결과 해당 컨테이너에는 /app 이라는 디렉토리가 존재하지 않습니다. 저의 생각으로는 /app이라는 경로를 직접 생성하거나 혹은 대신 생성해주는 무언가가 있어야만 에러가 나지 않고 정상동작할 듯 한데 제가 혹시 놓치고 있는 부분이 있을까요?
docker run 의경우 docker create -> docker start 명령어를 하나로 합친거라고 말씀하셨는데 왜 docker run의 경우에는 출력이 터미널과 연결이 바로 되는데 docker create -> start를 하게되면 -i 옵션을 주지않으면 왜 출력이 터미널과 연결이 되지않는건가요?