Sign inSign up

mohsenmcdt/mostman

By mohsenmcdt

Updated 7 days ago

Official Docker image for Mostman CLI, built for local development, automation, and CI/CD usage

Image
Networking
API management
Developer tools
1

1.6K

mohsenmcdt/mostman repository overview

Mostman

Official Docker image for the Mostman CLI. mostman

Use this image to run Mostman commands in a consistent environment across local development, team workflows, Docker-based automation, and CI/CD pipelines.

Pull image

docker pull mohsenmcdt/mostman:latest

Use cases

  • Run Mostman CLI inside projects without local installation
  • Use the same CLI version across team members
  • Integrate Mostman into CI/CD pipelines
  • Execute API workflows in a clean and portable containerized environment
  • Use non-interactive authentication and defaults in Docker or automation flows

Example

Show help:

docker run --rm mohsenmcdt/mostman:latest --help

List collections using environment-based authentication:

docker run --rm \
  -e MOSTMAN_TOKEN=your_token_here \
  -e MOSTMAN_WORKSPACE=Dev \
  mohsenmcdt/mostman:latest collection list

Run a request with environment defaults:

docker run --rm \
  -e MOSTMAN_TOKEN=your_token_here \
  -e MOSTMAN_WORKSPACE=Dev \
  -e MOSTMAN_ENV=staging \
  -e MOSTMAN_RUN_REMOTE=true \
  mohsenmcdt/mostman:latest collection run-request --name GetUsers

Environment variables

The image supports the following environment variables for smoother non-interactive usage in Docker and CI/CD:

  • MOSTMAN_TOKEN — Personal access token for non-interactive auth
  • MOSTMAN_BASE_URL — Override Mostman server base URL
  • MOSTMAN_WORKSPACE — Default workspace for commands supporting --workspace
  • MOSTMAN_ENV — Default environment for run-request
  • MOSTMAN_RUN_REMOTE — Default remote execution mode (true / false)
  • MOSTMAN_TRACE — Enable trace output by default (true / false)
  • OUTPUT_FORMAT - Default output format (text [default] /json/table/raw)

Notes

  • Explicit CLI flags take priority over environment variables
  • Environment variables are especially useful for Docker, CI/CD, and headless automation
  • This repository provides the Docker image only

Tag summary

Content type

Image

Digest

sha256:9f763fa31

Size

8.9 MB

Last updated

6 months ago

docker pull mohsenmcdt/mostman