도커 실행 이름
docker run --name <container name> -dp <local port>:<container port> <image>
컨테이너에서 도커 실행 명령
sudo docker exec -it <container name> <command>
도커 실행
docker run -d -p 80:80 docker/getting-started
도커 실행 모든 포트 매핑
docker run --network host
When running using --network host there is no need to map the ports.
All the docker container ports will be available since the network host mode
makes the container use the host's network stack.
도커 it 플래그
docker container run -it ubuntu bash
도커 컨테이너 시작
$ docker start <container_id>