Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Run Compiler Explorer in Windows Nano Server 2022!

NotificationsYou must be signed in to change notification settings

Devsh-Graphics-Programming/Compiler-Explorer-Docker

Repository files navigation

Click to see the source

Host your own Compiler Explorer instance in docker container!

Build StatusLicense: Apache 2.0Join our Discord

Requirements

Note

Hyper-V Windows featureis not really required if you use process isolation for both the image build & runtime.

How to

Important

If using Docker Desktop - first make sure you have switched toContainers for Windows. If you are CLI user and have client & daemon headless, then use appropriate windows build context.

Containers for Windows

Run container from github container registry

execute

docker run-it-p80:10240 ghcr.io/devsh-graphics-programming/compiler-explorer-docker:nano-2022

and open your browser withhttp://localhost.

or build image yourself

clone the repository

git clone https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-Docker.git

enter the cloned directory and build the image

docker build--isolation"process"-t godbolt/nano .

Tip

I highly recommend to build the image without virtualization (process isolation) to use all host resources, HyperV isolation will assign 1/2 CPUs + 1GB of RAM by default hence the result could be < 10x slower buildwithout assigning cpu resources by hand. If you get an error and can't use process isolation it's because your host kernel version is too low - update your OS or switch to HyperV (skip--process "isolation" flag).

Tip

The image is built with default set of options, there are a few you can override (eg. NodeJS version, remote & sha of CE). SeeDockerfile code for more details.

then run the container

docker run-p80:10240-it godbolt/nano

Important

You should use produced image as base to provide your own compilers (installation binaries) & configuration files for CE to use them. By default we run it without any compilers.

Production example

We use this image as base for Nabla Shader Compiler we host onhttps://godbolt.devsh.eu, it gets created by buildingCMake target which is part of Nabla build system, for more details checkout itsreadme

About

Run Compiler Explorer in Windows Nano Server 2022!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp