Docker default command
Docker container run 명령
docker container run <Docker Image name> <command>
ex) docker container run ubuntu:latest /bin/echo 'Hell oWorld'
Docker Version
docker version
Docker System Info
docker system info
Docker disk
docker system df
Docker nginx install
docker pull gninx
Docker image list
docker image ls
Docker run nignx
docker container run --name webserver -d -p 80:80 nginx
Docker process
docker container ps
docker container stats webserver
Docker nginx command
docker stop webserver
docker start webserver
Docker Image
Docker Hub
공식 Docker 이미지는 목록 상자에서 'Official'을 선택하면 표시됨
Docker Store
Docker image
image name [:tag name]
ex: debian:7
Docker image download
docker image pull [option] image-name[:tag name]
ex) docker image pull centos:7
ex) docker image pull -a centos
ex) docker image pull gcr.io.tensoflow/tensoflow
Docker image list
docker image ls [option] [repository-name]
option) -all, -a, --gigests, --no-trunc, --quiet, -q
DCT 기능
Docker 이미지의 정당성을 확인하는 기능, 위장이나 변조를 막기 위함
https://docs.docker.com/engine/security/trust/content_trust/#image-tags-and-content-trust
Docker image inspect
이미지 상세 정보 확인
docker image inspect centos:7