fast-reid/docker
Kaiwen Yuan 39887a102e
Fix docker build and Update documentation (#685)
2023-01-23 09:54:41 +08:00
..
Dockerfile Fix docker build and Update documentation (#685) 2023-01-23 09:54:41 +08:00
README.md add Dockerfile (#440) 2021-03-23 11:45:03 +08:00

README.md

Use the container

cd docker/
# Build:
docker build -t=fastreid:v0 .
# Launch (requires GPUs)
nvidia-docker run -v server_path:docker_path --name=fastreid --net=host --ipc=host -it fastreid:v0 /bin/sh

Install new dependencies

Add the following to Dockerfile to make persist changes.

RUN sudo apt-get update && sudo apt-get install -y vim

Or run them in the container to make temporary changes.

A more complete docker container

If you want to use a complete docker container which contains many useful tools, you can check my development environment Dockerfile