메뉴 닫기

[Docker] 도커 컨테이너 접속 하기

현재 실행 중인 도커 컨테이넌 확인

아래 명령어는 현재 실행중인 도커 컨테이너 접속 할 수 있는 실행중인 리스트를 보여줍니다.

docker ps

도커 컨테이너 접속

아래 명령어는 컨테이너 접속해서 키보드 입력을 할 수 있게 접속하는 방법입니다.

docker exec -it <컨테이너ID or 컨테이너명> /bin/bash

실제 예시는 아래와 같습니다.

 sudo docker exec -it f78b7f6c7148 /bin/bash

도커 컨테이너 접속 종료

컨테이너에 접속해 있을때 exit 명령어로 빠져 나올 수 있습니다.

Posted in Etc

Related Posts

98 Comments

  1. 핑백:[OCI]: 워드프레스 업로드 파일 용량 늘리기 - Lynny House

  2. finasteride dht blood level

    In contrast, a malignant pleural effusion tends to be unilateral and moderate to large in size size refers to maximum depth of fluid measured from the posterior chest wall on axial projection Fig 6, with the patient usually having a clinical history of current or prior breast cancer where can i buy cheap propecia This benefit is not payable the same day the NCI Evaluation Consultation Benefit is payable

댓글은 닫혔습니다.