Simple Docker Commands

create a image

Run a image

docker run -p 8888:8888 -v /home/amanyadav/Desktop/:/var/www/html/ hello-world-php

parameters

-p <source os port>:<docker port>

Leave a Comment

Your email address will not be published. Required fields are marked *