docker.rst 607 B

123456789101112131415161718192021222324
  1. Docker
  2. =======
  3. .. admonition:: Important
  4. :class: tip
  5. Docker requires a GPU with at least 16GB of VRAM, and all acceleration features are enabled by default.
  6. Before running this Docker, you can use the following command to check if your device supports CUDA acceleration on Docker.
  7. .. code-block:: bash
  8. bash docker run --rm --gpus=all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi
  9. .. code:: sh
  10. wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile
  11. docker build -t mineru:latest .
  12. docker run --rm -it --gpus=all mineru:latest /bin/bash
  13. magic-pdf --help