-
Notifications
You must be signed in to change notification settings - Fork 0
docker tips
Amadeusz Wieczorek edited this page Jun 14, 2018
·
1 revision
Junction created on win with mklink /J name target
works on unix and is capable of exposing outside world to the docker container. Contrast this with symlink created with mklink /D name target
:
> docker exec -it 8574 ls /data/junction
fileInsideTarget.txt
> docker exec -it 8574 ls /data/symlink
/data/symlink
To check the external IP of the container, run
> docker exec -it 8574 curl -s http://whatismyip.akamai.com
Parameter -s
disables the progress bar