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/shAdd the following to Dockerfile to make persist changes.
RUN sudo apt-get update && sudo apt-get install -y vimOr run them in the container to make temporary changes.
If you want to use a complete docker container which contains many useful tools, you can check my development environment Dockerfile