# VS Code Dev Containers with SWI Prolog

**URL:** <https://swi-prolog.discourse.group/t/vs-code-dev-containers-with-swi-prolog/4529>\
**Category:** Nice to know\
**Created:** [October 6, 2021, 5:34pm UTC](https://swi-prolog.discourse.group/t/vs-code-dev-containers-with-swi-prolog/4529 "2021-10-06T17:34:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![royratcliffe](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/royratcliffe/32/4398_2.png) [@royratcliffe](https://swi-prolog.discourse.group/u/royratcliffe)\
**Post date:** [October 6, 2021, 5:34pm UTC](https://swi-prolog.discourse.group/t/vs-code-dev-containers-with-swi-prolog/4529/1 "2021-10-06T17:34:16Z")

</div>

Nice to know that SWI Prolog runs very nicely under VS Code using the Remote Containers extension, see [royratcliffe/swi-prolog-dev-container (github.com)](https://github.com/royratcliffe/swi-prolog-dev-container) for an example. Clone the repo and open its folder in a Docker container using the Microsoft Remote Containers extension.

I’ve included help for X11-to-host connectivity using VcXsrv with disabled access control. Useful for launching Prolog’s Emacs and its many other graphical tools.
