DNA //evolutions

JOpt Quickstart (Sandboxes + REST Endpoint)

Last updated: 2026-02-06

Visit: Full guide / whitepaper

This page is a quickstart cheat sheet: start the container you need, open the URL, login (if CodeServer), and (for REST clients) ensure a TourOptimizer REST endpoint is running.

You can get our free evaluation license here.


AI Assistant

To ask anything about the docs and get custom examples, visit our JOpt AI Assistant (GPT). page.


Quickstart table

What you wantContainerStart commandOpen in browserLoginNotes
Java SDK Examples (CodeServer sandbox)dnaevolutions/jopt_example_server:latestdocker run -it -d --name jopt-examples -p 127.0.0.1:8042:8080 -v "$PWD/:/home/coder/project" dnaevolutions/jopt_example_server:latesthttp://localhost:8042/joptRuns optimization in-process (SDK). No REST endpoint required.
Java REST Client sandboxdnaevolutions/jopt_rest_example_server:latestdocker run -it -d --name jopt-rest-examples -p 127.0.0.1:8043:8080 -v "$PWD/:/home/coder/project" dnaevolutions/jopt_rest_example_server:latesthttp://localhost:8043/joptrestRequires a TourOptimizer REST endpoint (self-hosted or DNA-hosted).
Python REST Client sandboxdnaevolutions/jopt_py_example_server:latestdocker run -it -d --name jopt-py-rest-examples -p 127.0.0.1:8033:8080 -v "$PWD/:/home/coder/project" dnaevolutions/jopt_py_example_server:latesthttp://localhost:8033/joptRequires a TourOptimizer REST endpoint. Inside Docker use http://host.docker.internal:8081.
C# / .NET REST Client sandboxdnaevolutions/jopt_net_example_server:latestdocker run -it -d --name jopt-net-rest-examples -p 127.0.0.1:8023:8080 -v "$PWD/:/home/coder/project" dnaevolutions/jopt_net_example_server:latesthttp://localhost:8023/joptrestFirst start can take 1–2 min (plugins + OmniSharp). Requires REST endpoint.
TourOptimizer REST Endpoint (backend service)dnaevolutions/jopt_touroptimizer:latestdocker run -d --rm --name jopt-touroptimizer -p 8081:8081 -e SPRING_PROFILES_ACTIVE=cors dnaevolutions/jopt_touroptimizer:latestSwagger UI: http://localhost:8081/swagger-ui/index.htmlNot a sandbox. Mandatory backend for REST clients.

Stop / remove containers

Stop:

docker stop jopt-examples jopt-rest-examples jopt-py-rest-examples jopt-net-rest-examples jopt-touroptimizer

Remove (if not using --rm):

docker rm jopt-examples jopt-rest-examples jopt-py-rest-examples jopt-net-rest-examples jopt-touroptimizer

One critical networking note (REST clients inside CodeServer)

If you run a REST client inside a CodeServer container and your TourOptimizer REST service runs on your host machine:

  • use http://host.docker.internal:8081
  • not http://localhost:8081 (because localhost inside the container refers to the container itself)

References