Sign inSign up

orangelabschina/ai-worker

By orangelabschina

Updated almost 8 years ago

ai-worker is the working agent component in the AI-GE suite

Image
0

2.6K

orangelabschina/ai-worker repository overview

ai-worker

ai-worker is the working agent component in the AI-enabler suite. For now the docker version of ai-worker only supports CPU only tasks, for GPU tasks use the source code to deploy it.

Run

Run the following command to start the docker container: docker run -v $config_path:/usr/src/app/config/ -v /tmp/:/tmp/ -v /var/run/docker.sock:/var/run/docker.sock -p 5003:5003 -d --name ai-worker --restart on-failure $WORKER_IMAGE

  • use -v: volume sharing has to be declared to setup the config.ini file, mapping the docker.sock and share the tmp cache folder
  • use -p: port mapping is required to map out 5003 port
  • use --name: attach a name to the container, that creates an easier interface to stop and remove and stop the container later using the small GUI
  • 2 tags are available namely : latest for x86 linux systems, arm7 for arm7 linux systems

Tag summary

Content type

Image

Digest

Size

355.1 MB

Last updated

almost 8 years ago

docker pull orangelabschina/ai-worker