Copy file from stopped container



docker container cp CONTAINER_NAME:FILE .
docker container cp ubu:welcome.txt .

On your OS you can copy files from the container to the external filesystem.