डॉकर रन नाम
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'