Relatively new to Docker so trying to understand how to accomplish my task.
Locally, I:
- Build the image
- Push the image to some URL
- SSH into Linux VM
docker pull
image from URLdocker run image_name
This image, when run, downloads 2 fairly large csv.gz's. When unzipped, the two CSV's are about 15GB each.
I set up /app
on the Linux VM to have 200GB available. So, in short, I need to have the Docker image download those 2 CSV's there. However no matter what I've tried within my Dockerfile
, I see
'No space left on device' when it gets to the part to download the CSVs.
I've tried to set WORKDIR
to /app
, but that does not help.
Do I need to use a daemon.json
file? Does some sort of Docker setting need to be changed on the Linux VM? Do I need to look into Docker volumes?
Relevant pieces of Dockerfile:
FROM centos/python-36-centos7
USER root
WORKDIR /usr/src/app
COPY . .
As for /usr/src/app
, I've never seen anything in there. I normally use /usr/src/app
since that's what I use for my Cloud Foundry deployments.
Any insight to point me in the right direction would be appreciated.