Author: depot4beginners

A Docker Tutorial for Beginners

A Docker Tutorial for Beginners

docker-machine ip default

Source: A Docker Tutorial for Beginners

 

Start docker with shared folder:

docker run –name=php5.6_container –rm -v “/php:/var/www/html” -p 80:80 -p 8080:8080 php:7.2.2-apache

 

  • /php : la folder dc shared trong virtual box

 

http://support.divio.com/local-development/docker/how-to-use-a-directory-outside-cusers-with-docker-toolboxdocker-for-windows

Advertisements