All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ctakes.dockhand.goal.rest.README Maven / Gradle / Ivy

The newest version!
To create a tiny rest server:

1.  Execute "docker-machine env".
     This will list the full DOCKER_HOST address.
     e.g. "tcp://192.168.99.101:2376"

2.  Make note of the address between "//" and ":".
     e.g. "192.168.99.101".
     Let us call this "IP.IP.IP.IP".

3.  Change to the directory containing "Dockerfile".

4.  Execute "docker build -t ctakes_tiny_rest .".
     This will build an image with the tag "ctakes_tiny_rest".

5.  Set the environment variable "umlsKey" to your umls username.

6.  Execute "docker run --name my_ctakes_rest --rm -d -p 8080:8080 -e umlsUser -e umlsPass ctakes_tiny_rest".
     This will start a container named "my_ctakes_rest" that runs the server.

7.  In a browser, visit "http://IP.IP.IP.IP:8080/ctakes_tiny_rest".
     This should open a ctakes demo front page.


8.  To stop the server, execute "docker stop my_ctakes_rest".

9.  To remove the image, execute "docker rmi ctakes_tiny_rest".

10.  To clean your docker machine, execute "docker system prune".




© 2015 - 2025 Weber Informatics LLC | Privacy Policy