How can I use in jenkins

Hello.
I tried to using in jenkins for build.
I want to first dvc pull and docker build in jenkins pipeline.
but error

ModuleNotFoundError: No module named 'encodings'

I have docker volumes

 volumes:
   - /usr/bin/dvc:/usr/bin/dvc
   - /usr/lib/dvc/libpython3.10.so.1.0:/usr/bin/libpython3.10.so.1.0
   - /usr/lib/python3.8/dist-packages:/usr/lib/python3.8/dist-packages

How do you usually use dvc in CI?

Hi, can you please post the complete error message? Try adding a --verbose at the end of the command that you used. Thanks.