Run demisto-sdk commands from within a docker.
(All examples from the content repository).
docker run -it --rm --mount type=bind,source="$(pwd)",target=/content jochman/demisto-sdk <demisto-sdk-command>
If you want to run the lint command, you must connect the docker daemon (docker in docker)
docker run -it --rm --mount type=bind,source="$(pwd)",target=/content --mount source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind jochman/demisto-sdk <demisto-sdk-command>
Content type
Image
Digest
Size
332.9 MB
Last updated
over 4 years ago
docker pull jochman/demisto-sdk