5 Replies Latest reply on Sep 5, 2017 6:29 AM by cmorfin RSS
    chrisqiu Newbie

    Does anyone know how to install ThingWatcher 8 via Docker?

    I use docke toolbox in win 2008 server r2, start a default machine with ip

    I put the microservices.properties under E:\ThingWatcher, the content is:






    and I run command

    docker run -d -p 8080:8080 --name result-standalone -v //E/ThingWatcher/db:/tmp/ -v //E/ThingWatcher/microservices.properties:/maven/results-standalone.properties twxml/result-standalone:2.0 -jar maven/result-standalone-2.0-bin.jar server /maven/results-h2-file.yml

    in the terminal, everything is OK, but when I try to access, it gives me nothing, but it is supposed to show something, right?

    then I run command

    docker run -d -p 8090:8080 --name training-standalone -v //E/ThingWatcher/microservices.properties:/maven/training-standalone.properties twxml/training-standalone:2.0.0

    in the terminal, it will give me message like:

    C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: oci runt

    ime error: container_linux.go:262: starting container process caused "process_li

    nux.go:339: container init caused \"rootfs_linux.go:57: mounting \\\"/E/ThingWat

    cher/microservices.properties\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mn

    t/9fe81874568f3c4761b309da30fefadfa19db5c958edacf34ceb49884cce7b09\\\" at \\\"/m


    4ceb49884cce7b09/maven/training-standalone.properties\\\" caused \\\"not a direc


    : Are you trying to mount a directory onto a file (or vice-versa)? Check if the

    specified host path exists and is the expected type.

    Does anyone know where went wrong? I just totally follow the official guide.