fast-reid/docker
Xingyu Liao 41c3d6ff4d
add Dockerfile (#440)
2021-03-23 11:45:03 +08:00
..
Dockerfile add Dockerfile (#440) 2021-03-23 11:45:03 +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