2docker Notes
2docker Notes
(OR)
$docker run -d
-e SSO_HOST_URL
-e SSO_PASS
my-image
my_env.properties content
my_env_property=BLAH...
docker run
-p3000:3000
-v /containerDir/otherDir
-v hostDir:/containerDir
-d
imageId
Note
/containerDir/otherDir
will not be mapped to host
system because that
volume does not have
mapping for it. Which
means that dir will be
untouched and have same
content as when the image
got created.
OR