Docker Open Source CPU
Last updated
Last updated
These are the steps to installing OmniSci Enterprise edition using a Docker container.
Here is a quick video overview of the installation steps.
Open a new terminal window and enter the following command:
When the installation is complete, Docker runs the OmniSci server and OmniSci web server automatically.
You can access the command line in the Docker image to perform configuration and run OmniSci utilities.
You need to know the container-id
to access the command line. Use the command below to list the running containers.
You see output similar to the following.
Once you have your container ID, you can access the command line using the Docker exec command. For example, here is the command to start a Bash session in the Docker instance listed above. The -it
switch makes the session interactive.
You can end the Bash session with the exit
command.
To verify that all systems are go, load some sample data and perform an omnisql
query.
OmniSci ships with two sample datasets of airline flight information collected in 2008, and one dataset of New York City census information collected in 2015. To install the sample data, run the following command.
Where <container-id> is the container in which OmniSci is running.
When prompted, choose whether to insert dataset 1 (7,000,000 rows), dataset 2 (10,000 rows), or dataset 3 (683,000 rows). The examples below use dataset 2.
Connect to OmniSciDB by entering the following command (default password is HyperInteractive):
Enter a SQL query such as the following:
The results should be similar to the results below.