xszo/gdalpy plus an SSH server: a workbench container to log into and use
like a small VM, with tmux, sudo, nano and htop. For interactive
geoprocessing and day-long jobs on data mounted from the host.
Source and the full description of all images: github.com/KubaSzostak/SzoPy/tree/main/images
| Tag | Meaning |
|---|---|
3.13 | GDAL minor version; moves to the newest build of that version |
3.13.261015 | the same, date-stamped, for rollback |
latest | the newest GDAL in the list |
xszo/gdalpy of the same tag, built from the same
recipeopenssh-server on port 22, key authentication only, no root loginapp, uid 1654, with passwordless sudo; PUID and PGID set its
uid and gid at start, so files written to a mounted folder get the host
ownertmux, nano, htopszo named by SZO_VERSION, if set;
then it generates the host key in /etc/ssh/keys when missing and runs
sshdservices:
gdalbox:
image: xszo/gdalbox:3.13
hostname: gdalbox
restart: unless-stopped
ports:
- "2201:22"
environment:
PUID: "1000"
PGID: "1000"
volumes:
- ./home:/home/app
- ./ssh:/etc/ssh/keys
- /srv/data:/srv/data
Mount the home and the host key folder, or dotfiles, pip install --user
packages and the server identity are lost at every recreate. Put the public
key of the client into home/.ssh/authorized_keys, owned by PUID, folder
mode 700, file mode 600. Then:
ssh -p 2201 app@host
The container starts as root so that sshd can switch to app; do not
set user:. SZO_VERSION: "0.1.0" in environment: installs that szo
into the environment at every start instead of the baked-in newest release.
Content type
Image
Digest
sha256:3e54e2da9…
Size
1.2 GB
Last updated
20 days ago
docker pull xszo/gdalbox