Skip to main content
Version: 4.2.0

Install Fix Inventory

Docker images allow Fix Inventory to be run in a loosely isolated environment called a container.

tip

Don't want to manage your own Fix Inventory installation? Get started for free with Fix Security, an all-in-one security dashboard built on top of Fix Inventory.

Prerequisites​

Directions​

  1. Fetch the required files from the someengineering/fixinventory GitHub repository:

    $ mkdir -p fixinventory/dockerV2
    $ cd fixinventory
    $ curl -Lo docker-compose.yaml https://github.com/someengineering/fixinventory/releases/download/4.2.0/docker-compose.yaml
    $ curl -Lo dockerV2/prometheus.yml https://raw.githubusercontent.com/someengineering/fixinventory/4.2.0/dockerV2/prometheus.yml
    note

    By default, the fixshell service bind-mounts the ~/fixinventory-downloads directory to /home/fixinventory/downloads in the container. This allows you to access files outputted by Fix Inventory Shell on the host.

    If you would like to change the download location from ~/fixinventory-downloads to another directory, you can do so by editing the docker-compose.yaml file:

    fixshell:
    ...
    volumes:
    - ~/fixinventory-downloads:/home/fixinventory/downloads
    ...
  2. Start the services defined in the docker-compose.yaml file:

    $ docker-compose pull
    $ docker-compose up -d

    Upon execution of docker-compose up -d, Docker Compose will start all components and set up the system. This process takes approximately 1-3 minutes, depending on your machine and internet connection.

    note

    Docker Compose V2 integrated compose functions in to the Docker platform.

    In Docker Compose V2, the command is docker compose (no hyphen) instead of docker-compose.