Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.41 KB

File metadata and controls

31 lines (22 loc) · 1.41 KB

Build and run docker image

System requirements

Operating System:

  • Ubuntu 24.04

Software:

  • VPP SDK

Build docker image

  1. Build docker image for reference application bash build_sample.sh
    Make sure docker is corrently installed and configured.

Download the yolov8n_with_preprocess.xml model

  1. Download and convert yolo model with openvino notebook

Run docker container

  1. Run sudo init 3 switch to non-GUI mode
  2. Run a sample test in docker container : bash run.sh yolov8n_with_preprocess.xml
    To exit the program, you need to open another terminal window and stop the container using docker stop.

Run docker compose

  1. Run sudo init 3 switch to non-GUI mode
  2. Run bash ./startup.sh yolov8n_with_preprocess.xml

Uninstall docker image

  1. Run docker rmi -f $(docker images --format "{{.Repository}}:{{.Tag}}" | grep 'vppsample') remove all vppsample docker images

Caution

This container image is intended for demo purposes only and not intended for production use. To receive expanded security maintenance from Canonical on the Ubuntu base layer, you may follow the how-to guide to enable Ubuntu Pro in a Dockerfile which will require the image to be rebuilt.