Skip to content

Commit

Permalink
fix: gdal container is no more building #273
Browse files Browse the repository at this point in the history
feat: bumped gdal container to 3.4.0
  • Loading branch information
cnouguier committed Dec 3, 2021
1 parent b3cfbf9 commit 52d12a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tips/using-gdal.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ sidebarDepth: 3
* [sqlitepipe](https://github.com/icetan/sqlitepipe)

::: tip
Th **GDAL** image extends the [Geographica GDAL2 image](https://hub.docker.com/r/geographica/gdal2/).
The **GDAL** image extends the official [OSGEO image](https://hub.docker.com/r/osgeo/gdal).
:::

## Basic usage

Simply run the following command on a given worker node:

```bash
$docker run -v /path/to/your/data:/data -t -i kalisio/gdal:latest /bin/bash
$docker run -v /path/to/your/data:/data -t -i kalisio/gdal:3.4.0 /bin/bash
$cd /data
$gdalinfo path/to/my/dataset
```

If you need to access another container you will need to run the GDAL container within the same network. For instance, the following command will allow you to link the GDAL container to an existing `Postgis` container in the network `kargo`.

```bash
$docker run --network=kargo -v /mnt/data:/data -t -i kalisio/gdal:latest /bin/bash
$docker run --network=kargo -v /mnt/data:/data -t -i kalisio/gdal:3.4.0 /bin/bash
```

If you need to use the AWS CLI, you may need to share your credentials:
Expand Down

0 comments on commit 52d12a2

Please sign in to comment.