Cant find workspace folder

Hi , I am running jenkins via docker container , i am unable to see the workspace which is created by jenkins in either my host system or my container. request your help in finding out it.

and if i stop the container then total data is getting lost, how to get rid of that situation.

docker exec -it /bin.bash
And go to the /var/jenkins_home folder in workspace folder

we need to execute this command in the container or outside the container

got it thanks for the response

Would you mind sharing how you actualy create your jenkins container?

Post post the exact docker run command or docker-compose.yml you use to create the container - please only redact personal details and leave everything else untouched in order to permit us to understand what needs to be done.