SOLVED: Noob To Docker, unable to modify Hello World

100% that I’m doing something wrong, I just don’t know what.

  1. Installed Docker Running on Win 10 Pro with Hyper V (working)
  2. Downloaded “Hellow-world-nginx” and Ran, can see “your ngix container is running” after setting Ports in Settings -> Ports to docker.local:8080
  3. When clicking Home -> Then Start states
    "/website_files/index.html found"
    If I click on Volumes (/website_files) explorer opens to C:\Users\robert\Documents\Kitematic\hello-world-nginx
    But the website_files directory is Empty ??

Copied Sample website (2048 Game) to C:\Users\robert\Documents\Kitematic\hello-world-nginx\website_files Directory

When Restarting the Container Docker Log is

/website_files/index.html found.
nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (2: No such file or directory)
2016/07/27 21:03:54 [notice] 5#0: using the “epoll” event method
2016/07/27 21:03:54 [notice] 5#0: nginx/1.4.7
2016/07/27 21:03:54 [notice] 5#0: built by gcc 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45973)
2016/07/27 21:03:54 [notice] 5#0: OS: Linux 4.4.15-moby
2016/07/27 21:03:54 [notice] 5#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2016/07/27 21:03:54 [notice] 5#0: start worker processes
2016/07/27 21:03:54 [notice] 5#0: start worker process 6 - - [27/Jul/2016:21:04:15 +0000] “GET / HTTP/1.1” 200 361 “-” “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36”

But still shows old (original) docker file. not the new index.html file in the website_files directory.

Kitematic settings

Environment Variable Blank

Docker Port 80 Mac IP:Port docker.local:8080

Docker Folder /website_files
Local Folder C:\Users\robert\Documents\Kitematic\hello-world-nginx\website_files

Privileged Mode, Keep STDIN Open, Allocate a TTY all Checked.

So what did I miss / do wrong?


Ok, solved it after reading

Under Docker Global settings (Not via Kitematic) You have to add the Share Drives settings and enable the Whole Drive.