Vault in a docker container after replacing the raft.db,vault.db and certs it cannot read them

Hello all,
I updated the raft.db,vault.db, certs on a build machine then deployed them on another cert system. Vault in a docker contain cannot open them unless I do a chmod 777 on them and then it works normally. The database files, cert, and key file on the build were updated with Vault same version 1.11.3.