The JFrog Mission Control Docker installer can be downloaded from the.
Make sure to save the downloaded file in one of the locations defined in your $PATH environment variable so it is accessible from anywhere on your machine. |
Since Mission Control uses Elastic Search as its database for historical data, you need to set the mmap count to a larger value than default to avoid any memory leaks. Please refer to To set the mmap count, run this command:
|
By default, the Mission Control script pulls all the images from To download these images from a Docker registry that requires authentication, follow the steps below:
|
If requested at any time during the installation or upgrade process, make sure to provide the correct path to your Docker volume mount in the likely event that you're not using the default specified in the installation and upgrade scripts. |
The JFrog Mission Control Docker image may be installed on any platform supporting Docker CE v17.x and above. To install Mission Control as a Docker image, follow the instructions below:
Make mission-control
executable
To give the Mission Control installation script execute privileges on your machine, run:
chmod +x ./mission-control |
Install Mission Control
The installation process will prompt you for a "root folder". You may keep the default (current) location or specify another location on your machine. Choose this location carefully since you may not change it later, and this is where JFrog Mission Control saves its data, configuration files and logs. The Mission Control installer will only prompt you for this location for initial installation. It is stored in ~/.jfrog/jfmc/jfmc-installer/jfmc-env.conf
for later use when upgrading.
|
To install Mission Control, simply run:
./mission-control install |
We strongly recommend invoking Mission Control scripts with the |
JFrog Mission Control uses several databases for different features of its operation. Until version 2.1, Mission Control installed an instance of all of these databases dedicated for its own use. From version 2.1, Mission Control gives you the option of using your own databases if you have these already installed and in use in your organization. When you run the installer, it will issue prompts asking if you want Mission Control to use it's own internal databases, or if you prefer to use your own external databases. For details on how to respond to these prompts, please refer to Using External Databases. |
Start Mission Control
./mission-control start |
You can work in the Docker container using:
|
JFrog Mission Control can be installed without the host machine having access to the Internet. To perform this offline installation, follow these steps:
Download the archive file and the installer "mission-control.sh" file from the .
Load the images into the Docker host machine using the following command:
docker load -i mission-control-<version>-docker-images.tar |
Execute the installer with the offline flag :
./mission-control -o install | upgrade |
In case your installation of Mission Control creates a conflict for ports on your system, you may change the port through which Mission Control will operate as follows:
Stop the Mission Control services (if they are running)
./mission-control stop |
In $MC_HOME/jfmc/etc/mission-control.properties, set your desired port as follows:
server.port=<port number> |
If the |
Start the Mission Control services
./mission-control start |
If you are upgrading from an older version that was installed without the installation script, or your previously installed Mission Control as a standalone ZIP installation, you may be prompted for the "root folder". Make sure to specify the same MC_HOME folder your current installation is using. In addition, to allow the Mission Control container to read/write data, logs and other content, you need to change the ownership of certain folders as shown below:
|
Upgrading Mission Control may vary slightly depending on your current version and the new version you are upgrading to.
Stop your current installation of Mission Control using the following command:
./mission-control stop |
Scripts in Mission Control installer is recommended only to be executed with bash interpreter. |
Run the upgrade according to your version as follows:
To upgrade from version 1.6 and above, run
./mission-control upgrade ./mission-control start |
To upgrade from version 1.5.x and below, you first need to upgrade to version 1.6 and then upgrade to version 2.x.
To upgrade from version 1.5.x and below to version 1.6, first download the and then run:
./mission-control install ./mission-control start |
Note that this is not an error. The mission-control
script's install
function is used to upgrade from version 1.5.2 and below to version 1.6 and above to ensure that future upgrades work as intended.
Then, to upgrade to version 2.x, run the latest installation script you downloaded as described above (Both installation scripts have the same name, so be careful not to confuse them):
./mission-control upgrade |
JFrog Mission Control uses several databases for different features of its operation. Until version 2.1, Mission Control installed an instance of all of these databases dedicated for its own use. From version 2.1, Mission Control gives you the option of using your own databases if you have these already installed and in use in your organization. When you run the installer, it will issue prompts asking if you want Mission Control to use it's own internal databases, or if you prefer to use your own external databases. For details on how to respond to these prompts, please refer to Using External Databases. |
Start Mission Control
./mission-control start |
In addition to managing installation, the mission-control
installation script can provide additional information or perform additional tasks on your installation such as restarting Mission Control, displaying log files and more. For details, run:
./mission-control help |