If you run dbshell inside a container, the .dbshell file will be created inside that container’s filesystem, in the home directory of the user running the command.
dbshell
.dbshell
So:
bash
docker exec -it <your_container> bash ls -la ~ | grep .dbshell
exec -it <your_container> bash ls -la ~ | grep .dbshell