{"id":15492264,"url":"https://github.com/asyrjasalo/dockoon","last_synced_at":"2026-04-28T08:38:38.791Z","repository":{"id":48824346,"uuid":"324217974","full_name":"asyrjasalo/dockoon","owner":"asyrjasalo","description":"HTTP API virtualisation on Azure Container Instances \u0026 API Management","archived":false,"fork":false,"pushed_at":"2021-08-06T02:38:09.000Z","size":1423,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T16:44:26.597Z","etag":null,"topics":["azure","bicep","docker","mockoon","service-virtualization"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/asyrjasalo/mockoon","language":"Bicep","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asyrjasalo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-24T18:49:02.000Z","updated_at":"2023-01-23T10:22:43.000Z","dependencies_parsed_at":"2022-09-11T08:41:09.709Z","dependency_job_id":null,"html_url":"https://github.com/asyrjasalo/dockoon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asyrjasalo/dockoon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyrjasalo%2Fdockoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyrjasalo%2Fdockoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyrjasalo%2Fdockoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyrjasalo%2Fdockoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyrjasalo","download_url":"https://codeload.github.com/asyrjasalo/dockoon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyrjasalo%2Fdockoon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","bicep","docker","mockoon","service-virtualization"],"created_at":"2024-10-02T07:59:50.573Z","updated_at":"2026-04-28T08:38:33.772Z","avatar_url":"https://github.com/asyrjasalo.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockoon\n\n[![Docker pulls](https://img.shields.io/docker/pulls/asyrjasalo/mockoon)](https://hub.docker.com/r/asyrjasalo/mockoon)\n\n[The Docker images](https://hub.docker.com/r/asyrjasalo/mockoon) include:\n\n- Alpine Linux (`mockoon:alpine`) or Debian Buster (`mockoon:slimbuster`) base\n- Node.js 14 running as non-root user\n- Latest [@mockoon/cli](https://www.npmjs.com/package/@mockoon/cli)\n\n## Prerequisites\n\nInstall development dependencies:\n\n    brew bundle\n\nIf casks are not available for your OS, you can download and install Mockoon\n[from the official page](https://mockoon.com/#download).\n\n## Usage\n\nBuild and run proxy to [jsonplaceholder](https://jsonplaceholder.typicode.com/)\nat [:8080](https://localhost:8080) from `Dockerfile`:\n\n    ./dockoon\n\nUse Mockoon GUI to edit `apis.json` copied to the image and re-run the script.\n\nOr fetch `apis.json` over the wire as any `mockoon-cli` arguments are accepted:\n\n    ./dockoon start --data https://file-server/apis.json --index 0 --port 8080\n\n### Customizing Docker environment\n\nPass variable `BUILD_ARGS` to include additional `docker build` arguments:\n\n    BUILD_ARGS=\"--build-arg FROM_IMAGE=asyrjasalo/mockoon:slimbuster\" \\\n      ./dockoon\n\nPass variable `RUN_ARGS` to include additional `docker run` arguments:\n\n    RUN_ARGS=\"-d -p 4000:4000\" \\\n      ./dockoon start --data apis.json --name jsonplaceholder --port 4000\n\n## Cloud deployment\n\nSee [bicep/README.md](bicep/README.md) for deploying to Azure Container\nInstances hosted behind an API Management service.\n\n## Contributing\n\nOn Git commit, hooks in `.pre-commit-config.yaml` will be installed and run.\n\n### CI/CD\n\nThe [Azure DevOps pipeline](https://dev.azure.com/asyrjasalo/dockoon/_build) \nimplements the steps documented below (building and pushing the base images)\nas well as cloud deployment to Azure documented in\n[bicep/README.md](bicep/README.md).\n\n### Building a base image\n\nAlpine Linux:\n\n    docker/build_and_test_image\n\nIf succeeded the container will run and output `mockoon-cli` version.\n\nPass variable `BUILD_ARGS` to override the default `docker build` arguments.\n\nPass `IMAGE_KIND` to build on non-Alpine Dockerfile. For Debian Buster (slim):\n\n    IMAGE_KIND=slimbuster \\\n      docker/build_and_test_image\n\nPass `BUILD_DIR` to override the dir path where `Dockerfile.IMAGE_KIND` is in.\n\n### Pushing the base image\n\nRun `docker login` before running the scripts.\n\nPush the image to your private Docker registry:\n\n    REGISTRY_URL=https://your.azurecr.io \\\n      docker/tag_and_push_image\n\nTag and push the image `mockoon:alpine` to [Docker Hub](https://hub.docker.com):\n\n    REGISTRY_URL=\"$USER\" \\\n      docker/tag_and_push_image\n\nIf Debian image was built instead, tag and push the image `mockoon:slimbuster`:\n\n    REGISTRY_URL=\"$USER\" \\\n    IMAGE_KIND=slimbuster \\\n      docker/tag_and_push_image\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyrjasalo%2Fdockoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyrjasalo%2Fdockoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyrjasalo%2Fdockoon/lists"}