Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hi, I Run The Trains Server In An Docker Container And Started Making Use Of Tasks ... My Tests Are Showed On The Projects Dashboard Which Is Realy Cool. What I Haven'T Found So Far Is A Way To Clean Up The System From The Tests I Did. I'M Able To Archive


Hi Martin,
you are right. The Trains-agent is running with option cpu-only
(py38) wgo@NVidia-power:~/dev/catwalk$ docker ps CONTAINER ID       IMAGE                                                COMMAND                 CREATED            STATUS             PORTS                                          NAMES b99d5103a43c       allegroai/trains-agent-services:latest               "/usr/agent/entrypoi…"  2 days ago         Up 2 days                                                          trains-agent-services 16d20b75acf9       allegroai/trains:latest                              "/opt/trains/wrapper…"  2 days ago         Up 2 days          8008/tcp, 8080-8081/tcp, 0.0.0.0:8080->80/tcp  trains-webserver 205af33b09b1       allegroai/trains:latest                              "/opt/trains/wrapper…"  2 days ago         Up 2 days          0.0.0.0:8008->8008/tcp, 8080-8081/tcp          trains-apiserver 695f57cd5b16       allegroai/trains:latest                              "/opt/trains/wrapper…"  2 days ago         Up 2 days          8008/tcp, 8080/tcp, 0.0.0.0:8081->8081/tcp     trains-fileserver 9e85517ec9f7       redis:5.0                                            "docker-entrypoint.s…"  2 days ago         Up 2 days          0.0.0.0:6379->6379/tcp                         trains-redis 9719ab098a42       docker.elastic.co/elasticsearch/elasticsearch:7.6.2  "/usr/local/bin/dock…"  2 days ago         Up 2 days          0.0.0.0:9200->9200/tcp, 9300/tcp               trains-elastic 17f250415e92       mongo:3.6.5                                          "docker-entrypoint.s…"  2 days ago         Up 2 days          0.0.0.0:27017->27017/tcp                       trains-mongo (py38) wgo@NVidia-power:~/dev/catwalk$ docker exec -it b99d5103a43c bash root@b99d5103a43c:/usr/agent# ps ax    PID TTY     STAT  TIME COMMAND      1 ?       Ss    0:00 /bin/sh /usr/agent/entrypoint.sh     11 ?       Sl   18:39 /usr/bin/python3 /usr/local/bin/trains-agent daemon --services-mode --queue services --create-queue --docker ubuntu:18.04 --cpu-only     17 pts/0   Ss    0:00 bash     31 pts/0   R+    0:00 ps ax root@b99d5103a43c:/usr/agent#
I followed the instructions on https://allegro.ai/docs/deploying_trains/trains_server_linux_mac/ running it in docker.
Unfortunately I can't find any info on how to configure the container

  
  
Posted 4 years ago
168 Views
0 Answers
4 years ago
one year ago