Getting Started with Docker
Docker enables you to deliver software quickly by separating your applications from your infrastructure.
Thus, Docker acts as an “isolated, resource controlled, and portable operating environment” that can host any specific application on any machine without the hassle of deploying the environment manually.
NCache provides NCache Enterprise for Linux Server hosted on the Docker Hub. Once the Docker environment has been set, according to its prerequisites, you can pull the relevant images to start working on NCache.
Using these images, you can create containers that host NCache or create your own customized images by modifying the Dockerfiles.
NCache Docker Images on Docker Hub
The easiest and quickest way to start using NCache is to fetch a pre-built NCache Docker Image from Docker Hub. These Docker images come preinstalled with NCache. Simply use “docker pull” command to install them in your environment. To get started with Docker in NCache, follow the steps mentioned below:
- Install Docker.
- Verify the correct installation by using the following:
docker version
- If you are unable to get the version number, check Docker Troubleshooting section.
- Pull the NCache Docker image from Docker Hub
docker pull alachisoft/ncache:latest-java
Register NCache
In order to use NCache, you first need to register your Docker container. You can either register for free evaluation or activate NCache by selecting Activate with License Key.
Register-NCache Evaluation
You need to specify the registration type through the registeras
flag when registering a Docker container. The registration types can be Cache Server (default), Remote Client, or Developer. To do so, use the following command:
Note
The default registration type for NCache is Cache Server, you can change this by updating the value of the registeras
flag.
Note
To activate your NCache license, you need to have the license key from Alachisoft Sales.
register-ncacheevaluation -key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -firstname John -lastname Smith -email john@yourdomain.com -registeras developer -company your_company_name
Important
Please provide your first and last name during NCache registration process.
Register NCache With Licensed Key
You need to specify the registration type through the registeras
flag when registering a Docker container. The registration types can be Cache Server (default), Remote Client, or Developer. To do so, use the following command:
register-ncache -key xxxxxxxxx-xxxxxx-xxxxxxxx -environment Production -firstname John -lastname Smith -email john@yourdomain.com -registeras developer -company your_company_name
See Also
License Management
Licensing Model
Evaluation Period Management