Using packages installed on host OS in docker container

Hi, I have just started using docker, mainly to configure and different scientific computing libraries. So most of the time I just pull a docker image and it runs fine. However I also have different packages installed in my host OS using “apt-get”. Is there a way to use them with docker containers.