nls/README.md

62 lines
1.3 KiB
Markdown

# NLS
[[_TOC_]]
# Docker
## Load Images
First copy `nls-X.Y.Z-bios.zip` to `/opt/nls-X.Y.Z-bios.zip` with SFTP/SSH.
```shell
# set version
export VERSION=3.4.1
# extract archive
unzip nls-$VERSION-bios.zip
# goto directory
cd nls-$VERSION-bios
```
Import Images into Docker:
```shell
# appliance
docker load --input dls_appliance_$VERSION.tar.gz
# postgres
docker load --input dls_pgsql_$VERSION.tar.gz
# upgrade-image (optional)
docker load --input dls_upgrade_$VERSION.tar.gz
```
## Start service
```shell
cd docker
docker compose up -d
````
## Dump Filestructure
## Re-Tag Images and upload to this registry
Show Images:
```shell
docker image ls
````
```shell
docker image tag <image-id-dls_appliance> registry.git.collinwebdesigns.de/nvidia/nls/appliance:$VERSION
docker image tag <image-id-dls_pgsql> registry.git.collinwebdesigns.de/nvidia/nls/pgsql:$VERSION
docker image tag <image-id-dls_upgrade> registry.git.collinwebdesigns.de/nvidia/nls/upgrade:$VERSION
```
```shell
# Login to private registry
docker login registry.git.collinwebdesigns.de
# Push images
docker image push registry.git.collinwebdesigns.de/nvidia/nls/appliance:$VERSION
docker image push registry.git.collinwebdesigns.de/nvidia/nls/pgsql:$VERSION
docker image push registry.git.collinwebdesigns.de/nvidia/nls/upgrade:$VERSION
```