You'll want to mount you bitcoin data directory to tbe docked container. Then specify the correct data dir in bitcoin conf file for the bitcoind running in the container.