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
Answered
Hi All, What Is The Appropriate Way To Mount A Volume When Running The Docker Container For A Task? I'M Executing A Task From The Experiment Manager And Adding In

Hi all, what is the appropriate way to mount a volume when running the docker container for a task? I'm executing a task from the experiment manager and adding in v /tmp/.X11-unix:/tmp/.X11-unix:rw to the container args in the experiment tracker from the UI, however the clearml-agent (running in k8s cluster) gives me an error message of

skipping docker argument -v (only -e --env supported)
skipping docker argument /tmp/.X11-unix:/tmp/.X11-unix:rw (only -e --env supported)

is the mounting of volumes local to the instance supported?

  
  
Posted one year ago
Votes Newest

Answers 2


Nice! Well found and thanks for posting the solution!

May I ask out of curiosity, why mount X11? Are you planning to use a GUI app on the k8s cluster?

  
  
Posted one year ago

Solved this but going to leave it up in case it's useful to anyone - just used the pod template in the values.yml for the clearml-agent helm chart to mount the hostpath as a volume mount i.e.:

    podTemplate:
    # -- volumes definition for pods spawned to consume ClearML Task (example in values.yaml comments)
    volumes:
      - name: x11-host-dir
        hostPath:
          path: /tmp/.X11-unix 
    volumeMounts:
      - name: x11-host-dir
        mountPath: '/tmp/.X11-unix'
  
  
Posted one year ago
727 Views
2 Answers
one year ago
one year ago
Tags
Similar posts