Use NCache Docker on Linux
Once the containers for NCache are created and started, you need to connect to them and activate/register them for evaluation. This guide will take you through the process of connecting to your containers and then activating them or registering them for evaluation.
Register NCache Container
By default, the NCache container is not activated. So, you can activate your NCache container with a license key, or you can register it for evaluation using an installation key. Before you can activate your container or register it for evaluation, you need to connect to it first.
Connect to Container
Once the NCache containers are created and running, you can access these containers by using docker exec command and specifying the container name of the newly created container.
The following command connects you to the container ncache-ent-server-01 in interactive mode using the docker exec
command and opens a PowerShell instance within it.
docker exec -it ncache-ent-server-01 pwsh
Activate NCache Container
Important
It is assumed that you already have the license key. If not, then you can get it from our sales team by sending an email to sales@alachisoft.com.
Once you have connected to your container, you can Activate NCache using the license key you obtained from Alachisoft Sales. The following command activates the license for the container ncache-ent-server-01. The environment is set to production, and the number of clients is set to 4.
Register-NCache -Key xxxxxxxxxxxxxxxxx -FirstName your_first_name -LastName your_last_name -Email email@yourdomain.com -Company your_company_name -Environment production - Clients 4
Register NCache Container for Evaluation
If you don't have a license key to activate your NCache container, you can register it for evaluation instead. To do this, you'll need an installation key. The following command registers the container ncache-ent-server-01 for an evaluation period of 60 days with the evaluation key specified.
Register-NCacheEvaluation -Key xxxxxxxxxxxxxxxxx -FirstName your_first_name -LastName your_last_name -Email email@yourdomain.com -Company your_company_name
Note
NCache evaluation is domain specific.
Use NCache in Container
Once you have connected to the container and activated/registered it for evaluation, you can perform administrative tasks through NCache PowerShell cmdlets and the NCache Web Manager. This includes managing caches, clusters, security and deploying providers, and much more.
Note
To access the Web Manager of your container, browse to http://172.19.0.11:8251
on the host machine.
See Also
Create Containers in Linux
NCache Dockerfile for Linux
NCache Docker on Windows