반응형 Docker8 Docker image 업로드 방법. ***업로드 사전에 docker 페이지에서 레포지터리를 별도로 생성해줘야 함. ***본 문서는 실습 예제로 작성해봤습니다. >>docker pull centos:7 ///docker image download centos7버전. >>docker run --name centos --hostname centos7 -it -d centos:7 /// 컨테이너 생성 ///- 컨테이너 이름 : centos ///- host name : centos7 ///- image centos:7 사용. ///- it 직접적인 텍스트환경(?) ///-d 백그라운드실행 >>docker exec -it centos /bin/bash ///centos 컨테이너 /bin/bash이용 진입 >>exit ///컨테이너 환경 빠져나오기... 2023. 11. 20. Docker --help root@user:~# docker --help Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Common Commands: run Create and run a new container from an image exec Execute a command in a running container ps List containers build Build an image from a Dockerfile pull Download an image from a registry push Upload an image to a registry images List images login Log in to a registry logout L.. 2023. 10. 27. 이전 1 2 다음 반응형