This is a Centos7-based container hosting an installation of the NGAS system.
Prepare an area in your host computer that will act as the NGAS root (i.e., it will host the logs, the temporary files, etc.). Inside this NGAS root place a cfg/ngamsServer.conf file with the NGAS server configuration. In this configuration file the Server.RootDirectory setting must be set to /home/ngas/NGAS
When starting the container, the NGAS root on the host computer should be mapped to /home/ngas/NGAS inside the container. Also, a a fixed hostname should be used to start the container, instead of having Docker create a random name every time. This will ensure that on consecutive starts the server will see the same hostname, therefore creating the same identity for itself.
For example, to use the NGAS root area located in the host computer under /opt/local_NGAS_root, and use ngas_server as the hostname of the container, the following command can be used:
docker run --rm -v /opt/local_NGAS_root:/home/ngas/NGAS -h ngas_server icrar/ngas
Content type
Image
Digest
sha256:917b764a0…
Size
332.8 MB
Last updated
over 3 years ago
docker pull icrar/ngas