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, I'M Trying To Run The Clearml Agent From Dockerhub Image

Hi all,
I'm trying to run the clearml agent from dockerhub image
docker run allegroai/clearml-agent-k8s:aws-latest-1.21.2
but I get
: invalid option Usage: /bin/bash [GNU long option] [option] ...How do I run the docker image directly? Thank you

  
  
Posted one year ago
Votes Newest

Answers 10


I pull from dockerhub and then run docker run allegroai/clearml-agent-k8s:aws-latest-1.21.2

  
  
Posted one year ago

Regarding the image you asked about, how are you trying to run it?

  
  
Posted one year ago

CostlyOstrich36 Hi John, I'm trying to test if I can run the agent docker image to connect it to my clearml server. If I can run the image then I can config it to deploy to my k8s cluster.

  
  
Posted one year ago

Hi PunyWoodpecker71 , what are you trying to do?
Do you have K8s?

  
  
Posted one year ago

That won't work - there are a lot of environment variables required by the entrypoint, which are taken care of by the helm chart (see the entrypoint here: https://github.com/allegroai/clearml-agent/blob/ec9d02767865ec3d42dcb5d713be03646f4d1a07/docker/k8s-glue/build-resources/entrypoint.sh )

  
  
Posted one year ago

maybe SuccessfulKoala55 might have some input here. But this docker image is designed to be run from k8s glue from my understanding. To run it standalone you have to play with it a bit I think. Maybe try adding -it and /bin/bash at the end

  
  
Posted one year ago

Or are you just trying to run clearml-agent?

  
  
Posted one year ago

Hi PunyWoodpecker71 , the k8s glue is basically an agent variable running and scheduling tasks to dun as pods in the k8s cluster

  
  
Posted one year ago

oh, I did test the agent. I also built a docker image from https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue/glue-build-aws
and got it to connect to my server.
I'm just trying the official docker image to see if I can run it directly and get it to connect. So I can write deployment to my k8s cluster using that image without having to build my own image.

I don't really understand the glue thing. So I'm just doing it the way it is easier for me to understand

  
  
Posted one year ago

To test the agent you don't need to use the k8s docker image for it. Is there a reason you're not testing the agent as a package?

  
  
Posted one year ago
629 Views
10 Answers
one year ago
one year ago
Tags
Similar posts