도커 실행 이름
docker run --name <container name> -dp <local port>:<container port> <image>
도커 이미지를 구축하는 방법
docker build <Dockerfile path> -t image-name
컨테이너에서 도커 실행 명령
sudo docker exec -it <container name> <command>
도커 실행 모든 포트 매핑
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.
도커 이미지로드
$ docker load --input fedora.tar
$ docker load -i fedora.tar
도커 실행 이미지
docker run <image id> --name 'container name'