Add Dockerfile-python (#3814)
This commit is contained in:
parent
ba523e6b3e
commit
e4ddbcf01b
4 changed files with 60 additions and 3 deletions
|
|
@ -33,5 +33,8 @@ RUN pip install --no-cache -e . thop
|
|||
# Build and Push
|
||||
# t=ultralytics/ultralytics:latest-arm64 && sudo docker build --platform linux/arm64 -f docker/Dockerfile-arm64 -t $t . && sudo docker push $t
|
||||
|
||||
# Pull and Run
|
||||
# Run
|
||||
# t=ultralytics/ultralytics:latest-arm64 && sudo docker run -it --ipc=host $t
|
||||
|
||||
# Pull and Run with local volume mounted
|
||||
# t=ultralytics/ultralytics:latest-arm64 && sudo docker pull $t && sudo docker run -it --ipc=host -v "$(pwd)"/datasets:/usr/src/datasets $t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue