kong/inso
Pull the latest kong/inso
Docker image:
docker pull kong/inso:latest
All available tags can be found on Inso-CLI’s Docker Hub page.
Inso CLI docker images are signed and attestations are published to publish dockerhub repository. Refer Verify Signatures for Signed Inso CLI Images.
To run Insomnia specs in kong/inso
container, mount the specs folder on your host machine to a /var/temp
folder in the container. See the following sections for some examples.
Mount an Insomnia git sync repository folder to a folder in the container:
cd <your-git-sync-repo-folder>
# Run Unit Tests
docker run -it --rm -v $(pwd):/var/temp kong/inso:latest run test -w /var/temp
Mount the Insomnia Application Data folder:
# On macOS:
docker run -v $HOME/Library/Application\ Support/Insomnia:/var/temp -it --rm kong/inso:latest run test --src /var/temp
# On Linux:
docker run -v $HOME/.config/Insomnia:/var/temp -it --rm kong/inso:latest run test --src /var/temp
# On Windows (using Docker for Windows and WSL):
docker run -v /mnt/c/Users/<your_username>/AppData/Roaming/Insomnia:/var/temp -it --rm kong/inso:latest run test --src /var/temp
Mount the folder where you keep an Insomnia v4 export:
cd <some-folder>
docker run -it --rm -v $(pwd):/var/temp kong/inso:latest run test -w /var/temp/Insomnia_YYYY-MM-DD.json