Often things are more convoluted than you expect. Sometimes they are easier than you fear.
Here's an example: you're generating files inside a Docker container (with no volumes configured) and you realise you need some of those files available in the host.
A simple solution is to use 'docker cp', with a format like
docker cp CONTAINER_ID:FILE_PATH HOST_FILE_PATH
Official documentation.
A Stackoverflow question with more discussions.
Here's an example: you're generating files inside a Docker container (with no volumes configured) and you realise you need some of those files available in the host.
A simple solution is to use 'docker cp', with a format like
docker cp CONTAINER_ID:FILE_PATH HOST_FILE_PATH
Official documentation.
A Stackoverflow question with more discussions.