Skip to content

snap-contrib/docker-volume-eo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker for populating a volume with EO data

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Pull this docker image

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

Build this docker image

docker build -t volume-eo:latest .

Create a docker volume and populate it with a Sentinel-1

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.

Use a credentials file

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

About

Docker image to populate a volume with EO data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages