How to access Docker container's data (not mapped to any volume), when the container failed to start?
Let us say I started the container like this:
docker run -it --name testContainer ubuntu /entrypoint.sh
and the entrypoint.sh
for some reason later fails to stay running (in other word the container practically doesn't start), but I want to get access to some date stored in that container (eg. /var/www/html/XYZ), How can I do that?