After all, without Docker, your entry into the world of containers might be a bit of a challenge. What I want to specifically talk about is sharing data between containers within the realm of Docker.
Start both the containers (because they exited with the exit command) with: docker start ID
You can stop and remove them with the commands: docker stop ID docker rm ID
And that’s all there is to share data between Docker containers with the help of volumes.