2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
Line 76: | Line 76: | ||
Then build the container image running the the following command from the folder containing the Dockerfile and context directory: | Then build the container image running the the following command from the folder containing the Dockerfile and context directory: | ||
< | <pre> | ||
sudo docker build \ | sudo docker build \ | ||
--network=host \ | --network=host \ | ||
-f Dockerfile \ | -f Dockerfile \ | ||
-t ridgerun/ptz-service:latest ptz-context/ | -t ridgerun/ptz-service:latest ptz-context/ | ||
</ | </pre> | ||
Change '''ptz-context''' to your context's path and the tag (-t) to the name you want to give to your image. | Change '''ptz-context''' to your context's path and the tag (-t) to the name you want to give to your image. |