Metropolis Microservices/RidgeRun Services/PTZ: Difference between revisions

Line 101: Line 101:
Either you pulled the prebuilt image or you built your own, a docker container can be launched by running the following command:
Either you pulled the prebuilt image or you built your own, a docker container can be launched by running the following command:


<pre>
<syntaxhighlight lang="bash">
sudo docker run --runtime nvidia -it --privileged --net=host --ipc=host --name ptz-service  ridgerun/ptz-service:latest
docker run --runtime nvidia -it --privileged --net=host --ipc=host --name ptz-service  ridgerun/ptz-service:latest
</pre>
</syntaxhighlight>


You can modify the name you want to give to your container with the option '''--name'''.
You can modify the name you want to give to your container with the option '''--name'''.