Software Installation

To install Cosnim, you need to:

  1. Install a FUSE driver

  2. Download the Cosnim software

  3. Install/expand the software

  4. Check the installation

  5. Install Finder Quick Actions (optional)

  6. Enable Docker (optional)

Install FUSE

Install a FUSE package according to your OS:

To install a FUSE driver on Windows, install WinFsp from https://winfsp.dev/rel/

Make sure to select the “FUSE for Cygwin” option during installation:

WinFsp installation option for FUSE.

Download the Cosnim software

Download from https://downloads.cosnim.com the installation package appropriate for your OS and platform. You’ll need the username & password that was sent to you by email to access the downloads website.

Install/expand the software

Double-click on Cosnim’s msi installer and follow the instructions.

Afterwards, you should create a ‘cosnim’ directory at a location of your choosing to hold the configuration files, capsules and mounts for a given continuum. For more information, see Quick Start.

Check installation

To check that Cosnim can run properly on your machine, run the cosnim --version command.

Open a Command Prompt and run the command:

cosnim --version

Install Finder Quick Actions (MacOS)

When running under MacOS, you should install Cosnim’s Finder Quick Actions to make it easy to explore Time-Travel directly from the Finder (highly recommended). To do so:

  1. From the Finder, open the ‘samples’ folder under the ‘bin’ directory where you installed Cosnim.

  2. Double-click the file ‘MacOS Finder Quick Actions.zip’. This will expand the zip file.

  3. Select and double-click all the actions found in the ‘MacOS Finder Quick Actions’ folder.

    Finder window showing contents of the MacOS Finder Quick Actions folder
  4. Click OK when prompted by MacOS to confirm the installation of the actions.

    MacOS prompt to install the Finder Quick Actions

Note

MacOS automatically removes the quick actions from the installation’s directory during installation. If you need to re-install the actions, repeat the above instructions to re-expand the zip file.

Authorize Docker Containers

Mounting from within a container

If you intend to mount a Cosnim filesystem from within a Docker container, you need to give the container the SYS_ADMIN capability and expose the /dev/fuse filesystem as follows:

docker run .. --cap-add SYS_ADMIN --device /dev/fuse

If using docker-compose, add the following parameters:

cap_add:
  - SYS_ADMIN
devices:
  - /dev/fuse

Mounting on the host without authorizations

If you don’t want to give additional capabilities to containers or wish to have more control over Cosnim’s operation, you can mount the Cosnim filesystem directly on the host and expose the mountpoint to the container as a volume. For example:

cosnim mount -o mount.mountpoint=/mnt/cosnim_1
docker run .. -v /mnt/cosnim_1:/cosnim_1

The container will not be able to start and stop Cosnim and will not have access to any of its configuration or credentials, but will be able to access all of its files through the mountpoint without constraints.