This docker image is published on Github Packages.
If you don't have a Personal Access Token with read:packages
set, create a new one at: https://github.com/settings/tokens/new
Log on the docker repository with:
docker login docker.pkg.github.com --username <your_user_name> --password <generated_token_not_password>
Then pull the image from the command line with:
docker pull docker.pkg.github.com/snap-contrib/docker-volume-eo/volume-eo:latest
docker build -t volume-eo:latest .
Create a docker volume called eo-data
with:
docker volume create --name eo-data
Run the command below to populate it with the Sentinel-1 GRD product with identifier S1A_IW_GRDH_1SDV_20201228T170552_20201228T170617_035889_0433FB_D8C7:
docker run --rm -it -v eo-data:/data volume-eo:latest S1A_IW_GRDH_1SDV_20201228T170552_20201228T170617_035889_0433FB_D8C7
You'll be asked for you scihub credentials.
Create a JSON file called usersettings.json
and add:
{
"Credentials": {
"scihub": {
"AuthType": "Basic",
"UriPrefix": "https://scihub.copernicus.eu/",
"Username": "<your username>",
"Password": "<your password>"
}
}
}
Then run:
docker run --rm -it -v eo-data:/data -v $PWD/usersettings.json:/root/.config/Stars/usersettings.json volume-eo:latest S1A_IW_GRDH_1SDV_20201228T170552_20201228T170617_035889_0433FB_D8C7
Now you have a local docker volume with EO data that can be mounted on other docker containers